Replies: 1 comment
-
Just to expand on this, I know I can click the datarow and get any cell value with an index for that cell, but only if I don't have an on_tap for the cell I click in. If you have the on_tap event on the cell it overrides the on_tap event for the row. In my case, each cell has a different action based on the on_tap event, and two of the cells depend on the value in the 0th position of the cell indexes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm fairly new to Flet, but really liking it. I have a datatable, and my table forms well. I'm trying to set a cell where the click event (on_tap) will call a function to define an action (right now, just trying to print the value from the first cell (cell 0) in the row.
If I click on row 2 cell[3], how do I get the value of row 2 cell[0]? Here's what I have so far, got the
row.
part from google's ai, which seems to be wrong about flet about 99% of the time.Any help is greatly appreciated.
Code sample
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions