What verswion of our code are you using? With 3.0.1.0, if I subscribe to these events:
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(VisibleColumns_Changed);
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Changing += new Syncfusion.Collections.ListPropertyChangedEventHandler(VisibleColumns_Changing);
And in a button handler, have this code:
private void button1_Click(object sender, System.EventArgs e)
{
GridVisibleColumnDescriptor cd = this.gridGroupingControl1.TableDescriptor.VisibleColumns["ParentName"];
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove(cd);
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Insert(0, cd.Name);
}
There event handlers are hit for me.
private void VisibleColumns_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
Console.WriteLine("VisibleColumns_Changed" + e.Action.ToString());
}
private void VisibleColumns_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
Console.WriteLine("VisibleColumns_Changing" + e.Action.ToString());
}