function fixedColumns().update() clears column-search in the fixed column
function fixedColumns().update() clears column-search in the fixed column
Hi,
I found that the search field in a fixedColumn is cleared by the fixedColumn()update() function.
See the example in http://live.datatables.net/qozuwoce/1/edit
repro:
-) open the example
-) enter some search quote in the search-field for Name (the fixed column)
-) enter [tab] -> search is done and rebuild table.
-) Now click on one of the Test-buttons in the Salary-column
-) The FixedColumn().update() is called and the entered seach-field is cleared, while the selaction is still active.
If you switch fixedColumns off then it's all OK.
regards, Marcel
Replies
Looks like you will manually need to update the input with the column search. You can use
column().search()
to get the search value. Added two statements to your test button click event:http://live.datatables.net/qozuwoce/2/edit
Kevin
Hi Kevin,
Thanks, that helped a lot!