Grid to have all column types have OnClick event to attach handler to and full row
1252
Views
7
Comments
On our RadarOn our Radar
OutSystems UI

The new Data Grid is fantastic, but the fact that you have to add an ActionColumn and that that is the only one that can have an OnClick handler attached is quite limiting. It would be very nice to have the option to do the following:
1. Add an OnClick handler to each column regardless of type

2.Add an OnClick to an entire row so that they can click on any column and it triggers the handler

I would suggest that the Cell OnClick overrides the row one... but the individual cells click probably more important. Or potentially just allow one or the other.

Hi Nicholas,

awaiting change to the datagrid itself, maybe this new forge component can help you out

the event gives you row and column clicked, so you can make your code respond accordingly.

DataGridEvent

Hi @Nicholas Campbell,
Thank you so much for your idea. I’m marking this as “on our radar” since we already have it on our backlog.
At this moment we don't have an estimated date on when we will be able to address it but we will update this idea when that happens.

Cheers,
GM

Changed the status to
On our RadarOn our radar

Hi @Gonçalo Martins thanks so much for letting me know. Looking forward to it's implementation.

Bullet 2 is a nice one 

Hi @Nicholas Campbell

In OS Data Grid v2.11.0, we introduced a new feature that I believe can help you achieve your use case. This new feature is an event block named OnCellClick, which is triggered when you click on a cell. Have you had a chance to try out this new block yet?

Cheers,
Jéssica M.