Home Forums WinForms controls Xceed Grid for WinForms Click event on column header Reply To: Click event on column header

User (Old forums)
Post count: 23064

Subscribe to the Click event of the ColumnManagerRow.Cells collection.

private void Form1_Load(object sender, System.EventArgs e)
foreach( Cell cell in columnManagerRow1.Cells )
cell.Click += new EventHandler(cell_Click);

private void cell_Click(object sender, EventArgs e)
System.Diagnostics.Debug.WriteLine( sender.ToString() + ” click” );

Imported from legacy forums. Posted by André (had 3085 views)