Hello,
Our project uses the GroupByExpressions collection to generate SQL when NeedDataSource is fired. I noticed that when a group is added to the grid by dragging it onto the group panel, the GroupByExpressions collection does not include a GridGroupByExpression for this new group when handling NeedDataSource. Checking the collection later, in PreRender, I see that the new GridGroupByExpression is included, but a rebind at that point does not seem to affect the grid.
The reverse operation of removing a group by dragging it away from the group panel seems to work as expected, i.e. the GroupByExpressions collection does not include the removed group.
Is there a setting or some workaround which will ensure that GroupByExpressions always contains the correct information after adding or removing a group? I don't really want to have to rebind in any case.
Telerik version is 2009.3.1314.35.
Thanks,
Our project uses the GroupByExpressions collection to generate SQL when NeedDataSource is fired. I noticed that when a group is added to the grid by dragging it onto the group panel, the GroupByExpressions collection does not include a GridGroupByExpression for this new group when handling NeedDataSource. Checking the collection later, in PreRender, I see that the new GridGroupByExpression is included, but a rebind at that point does not seem to affect the grid.
The reverse operation of removing a group by dragging it away from the group panel seems to work as expected, i.e. the GroupByExpressions collection does not include the removed group.
Is there a setting or some workaround which will ensure that GroupByExpressions always contains the correct information after adding or removing a group? I don't really want to have to rebind in any case.
Telerik version is 2009.3.1314.35.
Thanks,