We're using the approach to show a drop down list in the grid row when a user clicks on the cell. In the change event we're changing values in the grid's data source to match a selection made from the drop down list.
This all seems to work fine, the grid datasource values are being changed, the only problem is that the grid's save event fires before dropDownList's change event.
This is a problem because the grid's dataSource.dataItem values have not been changed yet.
Question is: Why would the grid's save event fire before the change event of the dropDownList. More importantly, is there some other event we can bind to on the dropDownList which will happen before the grid's save event is called?
The importance here is that the grid's save event is calling a refresh on the grid.
This all seems to work fine, the grid datasource values are being changed, the only problem is that the grid's save event fires before dropDownList's change event.
This is a problem because the grid's dataSource.dataItem values have not been changed yet.
Question is: Why would the grid's save event fire before the change event of the dropDownList. More importantly, is there some other event we can bind to on the dropDownList which will happen before the grid's save event is called?
The importance here is that the grid's save event is calling a refresh on the grid.