RowHeader is a special Column used to indicate the row status like Current Row and you can enable or disable the RowHeader by setting the ShowRowHeader property in GridDataControl.
RowHeader allows you to customize the background based on the business logic .The following screenshot displays the default format of RowHeader.
Figure 1: Default style of RowHeader
You can change the background color of RowHeader Cell by using QueryCellInfo event that is used to customize each and every cell in the required format and the event is raised for each cell that requires redrawing. This is illustrated in the following code example.
Execute the above code to change the RowHeader’s default color into pink color whose corresponding status cell value is true that is illustrated in the following screenshot.
Figure 2: Background customization of RowHeader
Please refer the following sample for to change the background of Row header based on the business logic.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.