Skip to content

getData vs. getCurrentPageData #29

@palur76

Description

@palur76

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions