Datatables: Hide data instead of Removing it
Datatables: Hide data instead of Removing it
I know that this question is a long shot, but I'm gonna ask anyway. Is it possible for data to be hidden instead of being removed? (When filtering, hiding columns, ecc...)
I am using ASP.NET and am populating the rows with controls (Textboxes, DropdownLists, ecc...). Whenever the controls are removed (Ex: filtering), I can never get the latest control values from code-behind/server side. I only get the value with which the control was initialized.
Are there any possible workarounds or alternatives (if possible, without any asynchronous calls)?
Thanks.
This discussion has been closed.
Replies
As in
display:nonerather than being removed from the document? You could possibly modify DataTables to do that, but I suspect it would be a lot of work and it isn't something that it was designed for.Allan
Yes, I'm talking about display: none. Any other alternatives i could try?
I don't actually know what you are trying to do, so I'm not sure. If you want the values from the hidden nodes, then use the API and jQuery - for example
$('input', table.rows().nodes() )to get all input nodes in the table.Allan