Home Forums WinForms controls Xceed Grid for WinForms Cancelling the CurrentRowChanged Event? Reply To: Cancelling the CurrentRowChanged Event?

User (Old forums)
Member
Post count: 23064

You can prevent CurrentRow changes before you start processing and reset it to normal after your tasks:

this.gridControl1.BeginInit();
this.gridControl1.DataRowTemplate.CanBeCurrent = !this.gridControl1.DataRowTemplate.CanBeCurrent;
this.gridControl1.EndInit();

 

 

Imported from legacy forums. Posted by Vincent (had 847 views)