Skip to content

How to call ui.table methods with return values in NiceGUI 1.0 #229

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

You must be logged in to vote

As discussed in #230 the next release will introduce a new possibility to get return values from Ag Grid API calls:

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 johancj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants