aocolums: bSortable, bVisible not working

aocolums: bSortable, bVisible not working

lee911lee911 Posts: 4Questions: 0Answers: 0
edited June 2010 in General
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"
});
});

Replies

  • lee911lee911 Posts: 4Questions: 0Answers: 0
    can some one please help out!!
  • lee911lee911 Posts: 4Questions: 0Answers: 0
    I am sorry.. the name i gave is wrong its not "aoColums" but its "aoColumns". I feel really bad. Deleting this forum.
    thanks.
This discussion has been closed.