Fill table instead of filtering
Fill table instead of filtering
I was wondering if it was possible to fill in the data to the datatable instead of filtering it?
I have a table with some rows in it, and I would like to have an empty table to begin with and the table also being empty if there's no search (all search fields are blank).
I've tried to use the $("...").bind("filter", ...) and test if the visible rows equals the total number of rows, and make a filter, that would hide all rows, but that gave me a inifinite loop.
I've also considered using the serverside/ajax based datasource, but would rather not, since it will require a fairly large rewrite of code.
Any suggestions?
I have a table with some rows in it, and I would like to have an empty table to begin with and the table also being empty if there's no search (all search fields are blank).
I've tried to use the $("...").bind("filter", ...) and test if the visible rows equals the total number of rows, and make a filter, that would hide all rows, but that gave me a inifinite loop.
I've also considered using the serverside/ajax based datasource, but would rather not, since it will require a fairly large rewrite of code.
Any suggestions?
This discussion has been closed.
Replies
Allan
Allan