Skip to content

Commit

Permalink
chore: update py example #2196
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-mihok authored and mturoci committed Dec 7, 2023
1 parent a48d60d commit 60f69fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions py/examples/table_events_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ async def serve(q: Q):
q.page['table'] = ui.form_card(box='1 1 3 4', items=[
ui.table(
name='table',
columns=[ui.table_column(name='text', label='Table select event', searchable=True, filterable=True)],
columns=[ui.table_column(name='text', label='Table select event')],
rows=[
ui.table_row(name='row1', cells=['Row 1']),
ui.table_row(name='row2', cells=['Row 2']),
ui.table_row(name='row3', cells=['Row 3'])
],
multiple=True,
events=['select'],
groupable=True
)
])
q.page['description'] = ui.markdown_card(box='4 1 3 4', title='Selected rows', content='Nothing selected yet.')
Expand Down

0 comments on commit 60f69fd

Please sign in to comment.