aocolums: bSortable, bVisible not working
aocolums: bSortable, bVisible not working
Can you please tell me what i am doing wrong here...
thanks,
S.
$(document).ready(function() {
$('#example tbody tr').click( function () {
var aPos = oTable.fnGetPosition( this );
var aData = oTable.fnGetData( this );
$('#dialog').dialog('open');
$('#dialog').html('Practice: ' + aData[1] + 'Specialty: ' + aData[2] + 'No. of Providers: ' + aData[3] + 'Location: ' + aData[4] + 'Status: ' + aData[5] + '');
//alert(aPos);
//alert(aData);
});
oTable = $('#example').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"bLengthChange": true,
"aoColums": [{ "bSortable": false },
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"aaSorting": [[1, 'asc']],
"sPaginationType": "full_numbers"
});
oTable = $('#example1').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"bLengthChange": true,
"sPaginationType": "full_numbers"
});
});
thanks,
S.
$(document).ready(function() {
$('#example tbody tr').click( function () {
var aPos = oTable.fnGetPosition( this );
var aData = oTable.fnGetData( this );
$('#dialog').dialog('open');
$('#dialog').html('Practice: ' + aData[1] + 'Specialty: ' + aData[2] + 'No. of Providers: ' + aData[3] + 'Location: ' + aData[4] + 'Status: ' + aData[5] + '');
//alert(aPos);
//alert(aData);
});
oTable = $('#example').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"bLengthChange": true,
"aoColums": [{ "bSortable": false },
null,
null,
null,
null,
null,
null,
null,
null,
null
],
"aaSorting": [[1, 'asc']],
"sPaginationType": "full_numbers"
});
oTable = $('#example1').dataTable({
"bJQueryUI": true,
"bAutoWidth": true,
"bLengthChange": true,
"sPaginationType": "full_numbers"
});
});
This discussion has been closed.
Replies
thanks.