h2oai / h2oai/wave

Click on table: Need to access not only row-name but also column-name

Open
#2,432 3 comments 0 reactions 0 assignees View on GitHub
feature ui
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

In the documentation
https://wave.h2o.ai/docs/examples/table-events-select
it is shown that using the ui.table property
events=['select']
will enable an event handler so that when clicking on a table the row-name under the cursor is given as
q.args['']
on the called table-handler.

But we need also the column name of the cell which was selected.

So, in our application we have a grid of numbers and need to know the cell which was selected.

How can I get this information, so the column name of the cell?

Thanks
Michael

Contributor guide

Open the contributing guide

Research direction

Start with the table-events-select documentation and the ui.table events=['select'] example, then trace the table handler inputs described there. The work is complete when a selected cell provides both its row name and column name, with the documentation explaining how to access them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.