I m using True DB Grid and c# I need to change the back color of entire column when i click on its header ... what i do
because when i use the following its not working


Code:
private void tdbExport_FetchRowStyle(object sender, C1.Win.C1TrueDBGrid.FetchRowStyleEventArgs e)
        {
if (tdbExport.Col == tdbExport.DestinationCol)
          {
             if (e.CellStyle.BackColor == Color.BlueViolet)
                 e.CellStyle.BackColor = Color.White;
             else
                 e.CellStyle.BackColor = Color.BlueViolet;
          }
}
It s gonna change the color of entire row not a single coloumn