Hi,
In my project I add a image on column's header to let user group or ungroup current column, in the same time I add some javascript to call Grid's client API fireCommand("UnGroupByColumn", "") and fireCommand("GroupByColumn", "") on these image's click event, when I click one columns' groupping image, grid will group or ungroup on this column.
Currently groupping image's behavior is: [Group] -> [UnGroup] -> [Group] -> ..., Now, I want to midify their behavior with: [Group ascending] -> [Group descending] -> [UnGroup]
So, how I can implement this function?
I hope Grid's fireCommand can support the following function:
fireCommand("GroupByColumn", "ContactName DESC");
:-)
Regards,
LP
In my project I add a image on column's header to let user group or ungroup current column, in the same time I add some javascript to call Grid's client API fireCommand("UnGroupByColumn", "") and fireCommand("GroupByColumn", "") on these image's click event, when I click one columns' groupping image, grid will group or ungroup on this column.
Currently groupping image's behavior is: [Group] -> [UnGroup] -> [Group] -> ..., Now, I want to midify their behavior with: [Group ascending] -> [Group descending] -> [UnGroup]
So, how I can implement this function?
I hope Grid's fireCommand can support the following function:
fireCommand("GroupByColumn", "ContactName DESC");
:-)
Regards,
LP