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
4165
Is there a way to turn off row edit notification in the row selector?
posted

Hi,

 

I want to temp turn off the little icon that shows up when a row is editied. I am doing a loop where I want to edit a certain colleciton of rows. I suppose i could go out to the datatable that is the underlying datasource but I was just wondering.

 

Thanks.

  • 469350
    Offline posted

    That pencil icon displays to let the user know that there are changes in the grid that have no yet been written to the data source.

    You can hide the pencil as Boris explained, but the changes are still pending. Depending on your requirements, a better solution might be to call Update on the row or UpdateData on the grid. This will commit the changes from the grid to the data source and thus the pencil will go away.

  • 71886
    Verified Answer
    Offline posted

    Hello melegant,

    A possible approach to achieve this might by using the following code:

           ultraGrid1.DisplayLayout.Override.RowSelectorAppearance.ImageAlpha = Infragistics.Win.Alpha.Transparent;

    Please feel free to let me know if a question about our toolset comes up on your mind.