This question is locked. New answers and comments are not allowed.
Dear Community,
We have a requirement to group silverlight radgrid by a column when page loads and by default all the rows of the grid must be expanded.
Below is the code segment I'm using:
The problem is that ExpandAllGroups isn't working as expected. At times grid rows comes collapsed and at times expanded. It is not consistent. I need rows to be expanded always.
Please help.
Regards,
Shiva
We have a requirement to group silverlight radgrid by a column when page loads and by default all the rows of the grid must be expanded.
Below is the code segment I'm using:
//Auto-grouping of grid by Account column
GroupDescriptor descriptor = new GroupDescriptor();
descriptor.Member = "AccountName";
AccountRulesGrid.GroupDescriptors.Clear();
AccountRulesGrid.GroupDescriptors.Add(descriptor);
AccountRulesGrid.ExpandAllGroups();
The problem is that ExpandAllGroups isn't working as expected. At times grid rows comes collapsed and at times expanded. It is not consistent. I need rows to be expanded always.
Please help.
Regards,
Shiva