Hi
Is there a way to disable postback of grid when a column is added or removed from grouping using the grouping area ?
Thanks
Abhishek
Hello Abhishek
Please let me know if you have any further questions regarding this issue.
Hello Abhishek,Please take a look at the attached from me sample. I do grouping in onLoad and the issue you are describing is not occuring. Please modify the sample or create a new one reproducing the missbehavior you are facing
Hi Nikifor
Thanks for the reply. So this is now OK - I appreciate that grouping is performed from code-behind.
However, please check on the following:
When the grouping is performed from code behind in the initial load of the page, and there are about 5 items in one group, the grid displays the groups separately - like this:
Group 1
Item 1
Item 2
Item 3
Group 2
Item 4
Item 5
When doing from browser (through postbacks), the behaviour is normal.
Can you please check and comment ?
Hello Abhishek,When you are adding columns to GroupedColumns collection the grouping is performed from code behind which means that you have to make a postback to the server. Your options are either to enable the Ajax of the grid or to put it inside an Update Panel but in both cases a postback will occur in order to be performed the grouping. For more information about WHDG grouping please refer to http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebHierarchicalDataGrid_Group_Columns_from_Code_Behind.html