Skip to content

How to get selected row(s) in a ui.table? #291

Closed Answered by falkoschindler
srp754 asked this question in Q&A
Discussion options

You must be logged in to vote

@rodja No, #170 refers to an old NiceGUI version and is not applicable anymore.

But #229 (comment) answers this question:

result = await ui.run_javascript(f'getElement({table.id}).gridOptions.api.getSelectedRows()')

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by falkoschindler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants