Hi,
I have a simular problem, I'm editing the values of one of the fields for all rows in de InitializeRow event.
But by doing this I set all the rows to 'Edited'. Users see a pencil in the row selector area.
How can I force the grid to accept those changes (or something simular) or not displaying the pencil when a row was edited in code? (users cannot edit fields so actually I will never need that pencil icon in the rowselector)
Hi Andy,
I moved this post to a new thread, because it's really not related to the original thread at all.
Anyway, the solution to this issue is very simple. Just call Update on the row after you make your changes. This commits the row to the underlying data source, so it no longer has pending changes and therefore will not show the pencil icon.