PDA

View Full Version : addValueChangeHandler to RadioCell in Grid



happyboyhk
11 Jul 2017, 1:32 AM
Dear all,

I would like to add a RadioCell to Grid.
May I ask how to detect the radiocell selected and how to get the row data.

Thanks

branflake2267
11 Jul 2017, 3:56 PM
In order to do this, you have to listen to the events, and since it's a cell, the events will go through onBrowser event in the cell. This means you have to delineate the event target. If you cast the event target to xelement, you can use el.select("input") and cast it to InputElement, and then use the getters to get the value.