trimble-oss / modus-web-components

This library provides Modus components as web components - reusable, encapsulated UI elements that are framework agnostic (can be implemented in any site).
https://modus-web-components.trimble.com/
MIT License
34 stars 71 forks source link

Add row double click to modus table #1872

Open Gnirps00 opened 11 months ago

Gnirps00 commented 11 months ago

Prerequisites

Proposal

Add double click event to row of table, just like in the data table.

Motivation and context

If there's some actions for the row, it can be done quickly by double clicking

What is the issue regarding ?

@trimble-oss/modus-web-components

Priority

High

What product/project are you using Modus Components for ?

Tekla Structures Launcher

What is your team/division name ?

Structures SuDO team

Are you willing to contribute ?

None

Are you using Modus Web Components in production ?

No response

github-actions[bot] commented 11 months ago

Hello @Gnirps00! Thanks for opening an issue. The Modus core team will get back to you soon (usually within 24-hours) and provide guidance on how to proceed. Contributors are welcome to participate in the discussion and provide their input on how to best solve the issue, and even submit a PR if they want to.

Please wait until the issue is ready to be worked on before submitting a PR, or you can reach out to the core team if it is time bound. For trivial things, or bugs that don't change the expected behaviors and UI, you can go ahead and make a PR.

rthanga1 commented 10 months ago

Ramaraj to follow up to understand the requirement

rthanga1 commented 10 months ago

Hello @Gnirps00 , We are not sure if understand the issue clear. Can you explain more? Are you saying, in the Table control, when the user double click on a row, it should make the filed editable?

https://modus-web-components.trimble.com/?path=/story/components-table--default

Gnirps00 commented 10 months ago

Not editable, but some kind of eventlistener to be added there. Just like what you had in Modus React Boostrap for single click on row, but just for double click. https://modus-react-bootstrap.trimble.com/components/tables/#TablewithSingleRowSelection

Gnirps00 commented 7 months ago

Hi, are there any updates on this issue?