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

How do I get the cell content? #191

Closed
Fdde11 opened this issue Apr 16, 2020 · 1 comment
Closed

How do I get the cell content? #191

Fdde11 opened this issue Apr 16, 2020 · 1 comment
Assignees

Comments

@Fdde11
Copy link

Fdde11 commented Apr 16, 2020

Hi! I have a sorting table and when I sort my data I lose track of my IDs in another array, therefore, I want to extract the data directly from any cell but I can't find a way to do it.
I already have a DataClickListener but since I'm sorting the data the rowIndex doesn't help.

@ISchwarz23
Copy link
Owner

Hi @Fdde11,
you can use a custom TableDataAdapter. In this case the complete object (with I'd) is passed to the on click callback method.

@ISchwarz23 ISchwarz23 self-assigned this Apr 17, 2020
@Fdde11 Fdde11 closed this as completed Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants