bSortable clears onclick?

bSortable clears onclick?

aggiebenaggieben Posts: 5Questions: 0Answers: 0
edited November 2009 in Bug reports
I have a column of boolean data on which I wish to search but not sort. I set my columns options like so:
[code]
oTable = $('#table-id').dataTable({
'aoColumns': [
{ 'bVisible': false },
null,
null,
null,
null,
null,
null,
{ 'bSortable': false, 'sClass': 'flag' }
],
/* other options */
});
[/code]

It appears that setting the 'bSortable' option to false also clears any onclick function for elements in the header cell. I have a checkbox in use as a filter for that column, and I no longer catch click events after setting 'bSortable' to false.

Replies

  • aggiebenaggieben Posts: 5Questions: 0Answers: 0
    ah - it seems I have made a javascript error elsewhere. Consider this a false alarm unless I reply again.

    Thanks.
This discussion has been closed.