How to set a filter_key to table_row? #2350
lumanwang123456
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to filter the table rows according to the table cell value, how to do it?
with dpg.window(label="about", width =500, height=300):
dpg.add_input_text(label="Filter", callback=callback)
with dpg.table():
dpg.add_table_column(label="")
for i in range(500):
with dpg.table_row(filter_key=f"{i}"):
dpg.add_text(default_value=f"{i}")
Beta Was this translation helpful? Give feedback.
All reactions