I need to get the column name of select cell in a subgrid, to apply a logic.
Added Onrecordselect event but unable to identify which column selected.
Anybody have any idea?
I need to get the column name of select cell in a subgrid, to apply a logic.
Added Onrecordselect event but unable to identify which column selected.
Anybody have any idea?
Hi Leah,
Thanks for your input, but it seems not feasible.
Let me give the exact context.
One of the column in my subgrid is holds URL. I have added a method onRecordSelect but i want to perform that function only when the url field is clicked.
So I am trying to get the clicked column name so that i can decide whether to navigate to the url or not
Thanks
Hi rwithu,
There is one Client API reference: GridCell
GridCell is only supported for editable grids, GridCell of a selected grid row is analogous to a control on a form that is tied to a column in an editable grid.
It supports the getLabel methods, which returns the label of the column that contains the cell.
Also, you can refer to the following example code:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156