Hi,
I am using ultragrid. I have made the appearance of the ultragrid to show different back colors in alternate row. The same view i require in Column chooser for this grid.Hence in the event
{
ColumnChooserDialog ccDialog = e.Dialog;
cc.DisplayLayout.Override.RowAppearance.BackColor = Color.Black;
}
But the issue is it only modifies the row appearnce of first column(Having checkboxes) of column chooser.The row appearnce of second Column having the Header names didnt chnaged. Please suggest how to make changes in second column.
regards,
ravi.
Hi Ravi,
I don't think this is possible. The headers draw as headers. They pick up their appearances from the actual headers in the grid. In fact, I am pretty sure that the ColumnChooser just askes the grid to paint the header for it so that it always looks exactly the same in the column chooser as it does in the real grid. So I doubt that any appearance setting on the ColumnChooserControl will affect them.
Ravi,
I am attaching a sample that I have that shows how the drawing of the headers on the column chooser can be customized using a draw filter. Note that this example doesn't show alternating colors and you would need to write additional logic for that.
Let me know if you have any questions with this matter.