Sorting with filter on column without main filter on cause redisplay all rows

Sorting with filter on column without main filter on cause redisplay all rows

PetrPetr Posts: 7Questions: 0Answers: 0
edited June 2010 in Bug reports
Hi, when DataTable is initialized without main filter - "bFilter": false
then filter on single column is called and then click on header to sort, all rows are redisplayed. When "bFilter": true it works correctly.

Steps to reproduce:
1. open sample api/multi_filter.html
2. add "bFilter": false to init function like this
oTable = $('#example').dataTable({
"bFilter": false,
"oLanguage": {
"sSearch": "Search all columns:"
}
} );
3. run sample
4. put C in grade column filter - it should filter table to 8 rows
5. click on any header to sort, for example Browser column
6. bug - it shows all rows

Note: If "bFilter": true it works as excepted

Replies

  • PetrPetr Posts: 7Questions: 0Answers: 0
    Looks lite it's not bug it's feature ...
    http://datatables.net/forums/comments.php?DiscussionID=2114&page=1#Comment_9172
This discussion has been closed.