jquery - Efficient way to hide rows from table -
i have html table 1000 rows. want sort/search rows on client. data comes webservice.
now, thinking adding paging 100 rows per page, client side performance bad. (i thinking doing like: display:none;
hidden rows.
now, i've started looking around implementations of approach, , found out datatables allow sorting/search client side without adding rows dom first. http://datatables.net/ looked @ generated dom in developers console , still cannot figure out how hide rows. ideas?
i looked @ generated dom in developers console , still cannot figure out how hide rows. ideas?
the js code reads table javascript variables, variable osettings.aodata.
from there, load table elements need seen, not hiding , unhiding rows (i.e. dispaly:none) - table rows removed dom, stored javascript objects, , loaded or removed dom needed.
Comments
Post a Comment