Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
579
Re: Keeping a row in EditMode even after you select another row...
posted

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)

 

Parents
No Data
Reply
  • 469350
    Offline posted

    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.

Children
No Data