Which column am I in? #100
Unanswered
InjAnnuity1
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Here is a method I add to the tabulator def cell_click(self,cell, **event_args):
field = cell.get_field() #Column Name
row = cell.get_row() #Tabulator Row
row_data = row.get_data() #Dictionary of Tabulator Row
self.edit_map[field](row,row_data) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Resolved in v2.2.10. The cell has been added to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Anvil Tabulator Example, the Anvil cell component is used in just one column, so it can just assume that it knows its column name (e.g.,
'col'
).In practice, it might be used from any number of different columns. In that case, how would any particular instance know which column had invoked it?
I didn't find anything in
**properties
that would tell it.Beta Was this translation helpful? Give feedback.
All reactions