How to omit Pencil like Symbol from Grid on Row Selectors.
If we visit a row, the above symbol get removed.
But initially the symbols displays on all All rows.
i want to eliminate this..
PLease help me to solve this issue.
Hi,
The pencil indicates that there are changes in the grid row that have not been written to the underlying data source, yet.
So my guess is that you are setting the value of some grid cells in your code. In that case, there are two ways you can get rid of the pencil.
One way to do this would be to update the field in the data source instead the grid cell. The DataSource will notify the grid of the change and the grid will display it.
The other option is to tell the grid to commit the changes after you change the cell value. You do this by calling the Update method on the row.
A third option is to call the UpdateData method on the grid after all of the changes have been made to all of the cells. This would make sense if you are changing cell values in multiple rows inside a loop. You would finish all the changes and after the loop is complete, you can update the DataSource in one shot.
i just assgined datatable to Grid's Datasource...
ultragrid.datasource = dt
I want to hide that symbol just after loading Datasource..
i may or may not Update cell values..
Grid should't display that Pencil Symbol at any time...
Thank you mike for your response..
but i couldn't get through ur points..
Thanks n Regards,
Janani.S