I have been trying to get grouping int the grid to rebind through many, many different routes. I have used hidden fields, ViewData, postback, grid actions and though the data will reapply there doesn't appear to be any way to get the grid to reevaluate the grouping.
Why must we use the drag/drop to get groups to update? Is there any way to do it programmatically? How do I assign the group by variable? It seems to send a string similar to filter (e.g. "Filter1-asc~Filter2-asc") but there is no way to force the grid to use the grouping you wish to assign?
I look at this example (http://demos.telerik.com/aspnet-mvc/Grid/Grouping) and it is no help. I did exactly what is in there (minus the
"Configurator").
I am starting to the think the "Configurator" rewrites the HTML so that the entire page is recompiled and therefore the grouping is reevaluated. I've seen that it is supposedly irrelevant but I have done everything but that and the grouping does not take.
Has anyone had success that can help me?
******* UPDATE - Just as I had given up I came across the answer. I had a case of making it more complicated than it needed to be. I set the grid "groupBy" variable and it worked.
Why must we use the drag/drop to get groups to update? Is there any way to do it programmatically? How do I assign the group by variable? It seems to send a string similar to filter (e.g. "Filter1-asc~Filter2-asc") but there is no way to force the grid to use the grouping you wish to assign?
I look at this example (http://demos.telerik.com/aspnet-mvc/Grid/Grouping) and it is no help. I did exactly what is in there (minus the
"Configurator").
I am starting to the think the "Configurator" rewrites the HTML so that the entire page is recompiled and therefore the grouping is reevaluated. I've seen that it is supposedly irrelevant but I have done everything but that and the grouping does not take.
Has anyone had success that can help me?
******* UPDATE - Just as I had given up I came across the answer. I had a case of making it more complicated than it needed to be. I set the grid "groupBy" variable and it worked.