Iterate in a StandartTableView rows declaration #4643
Answered
by
ogoffart
guillaumeAbel
asked this question in
Q&A
-
Hi everyone, I have to set a lot of element in a table, so i want to iterate in the declarations of the rows attribute, but i don't even know if it's possible.
but this not compile with parse errors on the square brackets and the curly. Thanks for help |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Feb 20, 2024
Replies: 1 comment 2 replies
-
You have to do fill your model from the native code. slint/examples/gallery/main.rs Lines 26 to 38 in c399447 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
guillaumeAbel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have to do fill your model from the native code.
For example, in rust:
slint/examples/gallery/main.rs
Lines 26 to 38 in c399447