Hello!
I'm a bit confused... I have a table with 292 rows, paginated by 10 rows per page. table.getData() returns 10 objects, and table.getCurrentPageData() returns 10 too. If I search in the table, and I get 7 results, both functions return 7 objects. As I read in the documentation, getData() should get all data fro the table, getCurrentPageData() only the current page, I hope, understood it well.
My original problem is, that I'd like to copy all data from the table, if without search, them my 292 rows, if the search results 7, then this 7 rows. I hoped to do this with table.getData(), or am I wrong?
Thanks.
Hello!
I'm a bit confused... I have a table with 292 rows, paginated by 10 rows per page.
table.getData()returns 10 objects, andtable.getCurrentPageData()returns 10 too. If I search in the table, and I get 7 results, both functions return 7 objects. As I read in the documentation,getData()should get all data fro the table,getCurrentPageData()only the current page, I hope, understood it well.My original problem is, that I'd like to copy all data from the table, if without search, them my 292 rows, if the search results 7, then this 7 rows. I hoped to do this with
table.getData(), or am I wrong?Thanks.