HA
haneefm
Syncfusion Team
February 11, 2008 09:05 PM UTC
Hi John,
GroupedColumns.Changing/GroupedColumns.Changed events fire when a group is added/removed from the GroupDropArea. You can make use of this event.
private void GroupedColumns_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
SortColumnDescriptor scd = e.Item as SortColumnDescriptor;
if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
Console.WriteLine("Column Added - {0}", scd.Name);
if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Remove)
Console.WriteLine("Column Removed - {0}", scd.Name);
}
Kindly let us know if you need any further assistance.
Best Regards,
Haneef
JR
John Ruiz
February 12, 2008 01:20 AM UTC
>Hi John,
GroupedColumns.Changing/GroupedColumns.Changed events fire when a group is added/removed from the GroupDropArea. You can make use of this event.
private void GroupedColumns_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
SortColumnDescriptor scd = e.Item as SortColumnDescriptor;
if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Insert)
Console.WriteLine("Column Added - {0}", scd.Name);
if(e.Action == Syncfusion.Collections.ListPropertyChangedType.Remove)
Console.WriteLine("Column Removed - {0}", scd.Name);
}
Kindly let us know if you need any further assistance.
Best Regards,
Haneef
Thanks.
Though your product is rock solid and so is your support. I'd really like you guys doing some usability study on the APIs libraries. I don't have any major problems just that
gridGroupingControl has TableDescriptor, TableModel, TableOptions, TableControl and quite a lot of functionality is intermixed
For this problem of mine I was looking at gridGroupingControl.TableControl.GroupDropArea as it makes the most sense to have the events published here and not under gridGroupingControl.TableDescriptor.GroupedColumns.Changed
My 2 cents, please keep up with the good product.
Cheers
FS
Fathima Shalini P
Syncfusion Team
February 12, 2008 08:04 AM UTC
Hi John,
Thank you for your update.
Regards,
Fathima