javascript - Fill Jquery datatables dynamically -
i have used jquery datatables plugin.at first , content of table hardcoded did modfications in order fill table dynamically fetched data , works fine search function within table stoped working , value of entries number stays unchanged ( 0 ) . here's link datatable: https://www.datatables.net/download/index
datatables ve api dynamically add rows... check fnadddata (doc https://datatables.net/api). if force new rows in table disappear example if use yourtable.fndraw() because real table settings not altered. use fnadddata or fncleartable manage data. if use api search continue work fine think.
Comments
Post a Comment