Live updating of the JSON from DataTables
Live updating of the JSON from DataTables
imhalfpirate
Posts: 9Questions: 0Answers: 0
So I've created a filter/checkbox with DataTables that looks like this: http://www.imhalfpirate.com/images/selectbox. In order to select all the checkboxes I'm using fnGetFilteredNodes and checking the checkboxes with a .find("input:checkbox"). What I was wondering was if there was a way to check all the rows by calling the JSON string and filling in a column called "checked" with an "X" string which would then refresh with ajax and show with checkboxes should be rendered with a checked checkbox. The problem I'm running in to is that I'm bringing in thousands of rows and to check each checkbox is causing it to run very slow and in IE just halt. If there was a way I could use bDeferRender but check/uncheck all with the JSON string then show it on load would be fantastic.
I hope this makes sense. I've been working extremely hard on this. I think making this a feature or plugin down the road would help a lot of people. It would make for one very powerful picklist! :D
I hope this makes sense. I've been working extremely hard on this. I think making this a feature or plugin down the road would help a lot of people. It would make for one very powerful picklist! :D
This discussion has been closed.