Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterating all visible (unfiltered) rows #875

Open
aguerrag opened this issue Jul 8, 2020 · 0 comments
Open

Iterating all visible (unfiltered) rows #875

aguerrag opened this issue Jul 8, 2020 · 0 comments

Comments

@aguerrag
Copy link

aguerrag commented Jul 8, 2020

Hello

I'm working with fooTable and I need to iterate through all the unfiltered rows. I'm using this code to iterate through all the table, but I need to distinguish which ones are not visible because of the filter:

var ft = FooTable.get("#showcase-example-1");
$.each(ft.rows.all, function(i, row){
v=row.val();
console.log("i="+i+" v.id="+v.id);
});

The table has data-filtering="true".

Normally I do my research and find my answers in questions others have asked already, but for this one I'm a little lost.

Thank you in advance for your answers.

aguerrag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant