I'm trying to set default values in the WebDataGrid if the Cell is null or does not contain a value. I am trying to do this check in the WebDataGrid InitializeRow server-side event, however, do not have a method for setting the value of a particular cell. Is the data bound at this point ? If so, what is the command I should use to set the value.
The WebDataGrid acts as a view on top of a model. In this case the model is your underlying data. Rather than editing the data through the grid, you should edit it through your data tier. So insetad of trying to set a grid cell's value, you should be setting the value in your underlying datasource.
Understood. One problem I am encountering is that if I format the column DataFormatString to Percent, and prefill the field during databinding, I need to use decimal format (eg. 1.0 = 100%). However, when the user clicks on an empty field, if he puts in 1.0, the formatting converts that to 1%. Why is there a difference? Is this a bug?