Update column data in render function
Update column data in render function
Hi
I have a column which I have a custom render method defined for. The render function prints out the data I expect when the table is initialized. However, if the render function runs again the column data is not updated with what I would expect. My test case was to have a render function that just returns the window width. At init the correct width is outputed in the column but when I later resize the window, the column value outputed column value is not changed to the new window width. Does anyone have an answer to why I get this behaviour and if there a any solution to it.
/Marcus
Answers
http://live.datatables.net/rokeyibe/3/edit
I have similar problem. I'm defining custom render method to sort a column depending on a checkbox value. Then when I check/uncheck the checkbox, the sort is not updated.
I'm looking for any method to reload sorting criteria and calls my sort function.
This solution (http://live.datatables.net/rokeyibe/3/edit) doesn't fix the problem.