Hi,
I have a WebHierarchicalDataGrid with a DropDownProvider in one of the columns. I need to change the currency format of one column depending on the value of this dropdown.
I have attached to the SelectionChanged event of the dropdown.
How can I get the row of the grid to which the dropdown belongs so I can update the format of the corresponding field?
Thanks in advance.
Hi Carlos,
Since selecting an item in the dropdown will edit the value in the cell I suggest that you attach to the corresponding editing event - the cellValueChanged (client side) or RowUpdated (server side) event seems appropriate. You will be able to get the row and the cell from the event arguments.
You can update me with more info on your scenario ( editing scenario, batch updating value, auto crud, preference of server side or client side code) if you want me to provide some sample code.