How to call ui.table methods with return values in NiceGUI 1.0 #229
-
Hi, how can I use methods in ui.table with a return value in nicegui version 1.0? I would really appreciate an example like in #150, but with for example the function |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Currently this doesn't seem possible with NiceGUI 1.0. But I created issue #230 for implementing this feature. |
Beta Was this translation helpful? Give feedback.
-
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()') |
Beta Was this translation helpful? Give feedback.
As discussed in #230 the next release will introduce a new possibility to get return values from Ag Grid API calls: