wave icon indicating copy to clipboard operation
wave copied to clipboard

Allow to double click a table row without sending values to the serve function

Open shamilh2o opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe

Discussed in the wave Q/A. https://github.com/h2oai/wave/discussions/1669#discussioncomment-4176861 Once we double click on a text in a table row to highlight it, table refreshes. This is a problem when the double click serves for text selection and further copying.

Describe the solution you'd like

Allow double-clicking table cell text without submitting values. Double-clicking outside of the text should submit the selection as before.

Additional context

This is what happens when double click on a text in a table. Need a feature to avoid this table refresh. https://user-images.githubusercontent.com/101506482/195814195-c53d40f1-8106-4e90-96d5-a131adba439c.mov

shamilh2o avatar Nov 18 '22 15:11 shamilh2o

Is there a demo (.py) file that has a table that I can look at to see this functionality when I run h2o wave locally (after I build and access these links: "You should now see the Wave Tour at http://localhost:3000/tour, and examples running at http://localhost:3000/demo."?

nhadlaw avatar Dec 12 '22 15:12 nhadlaw

@nhadlaw you can use any table example I believe. See our contributing guide to learn more.

mturoci avatar Jun 26 '23 14:06 mturoci