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
770
XamGrid: remove activecell decoration (because enabled row selection)
posted

I write this post here because I didn't found a specific forum for XamGrid.

I configured XamGrid to allow selection by row, and not by cell. And work ok, when the user clicks a cell the complete row is highlighted. But I can see the decorator of the active cell too, and I want to remove it. How can I remove the active cell decorator?

 

Thanks

 

Parents
  • 28407
    Verified Answer
    posted

    HI Lorenzo,

     You could wrie up the XamGrid's ActiveCellChanging Event and cancel it.

     Here is a code snippet
    private void xgrid_ActiveCellChanging(object sender, Infragistics.Controls.Grids.ActiveCellChangingEventArgs e)         {            e.Cancel = true;         }

     Sincerely,
     Matt
     Developer Support Engineer

     

Reply Children
No Data