ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Expandable with enableFullRowSelection

Open Dagger55555 opened this issue 5 years ago • 2 comments

When enableFullRowSelection is also used, the click event on the expand button also triggers the selection.

Ideally this would caught in the toggleRowExpansion function, but for those in immediate need, at the end of me on.rowExpandedStateSelection you can add something like:

              if (event !== undefined && event.currentTarget !== undefined && event.currentTarget.tagName === "I")
              {

// Cancel bubble of event }

This way the full row selection isn't executed.

Dagger55555 avatar Jun 22 '20 18:06 Dagger55555

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 22 '20 18:08 stale[bot]

Can you exapin a bit more about this issue? I'm biginner and I wanna contribute in this issue

RonWizz avatar Jun 11 '23 16:06 RonWizz