zqmnba
Last Updated: February 25, 2016
·
2.38K
· hjwu

How to Changing Row Color on DevExpress GridView

The trick to trigger is following

gridView1.RefreshRow(rowhandle);

Reference : Changing Row Colours on DevExpress GridView

By the way, in my experience, using FocusRowHandle is BETTER than GetFocusedDataSourceRowIndex !!

Because GetFocusedDataSourceRowIndex may occur ERROR when sorting columns,

UPDATE : the following is also need !!

e.HighPriority = true;