With above property I can switch between opened and closed groups on data bind. My problem is that I cannot open or close more than one group. If property is true only one group can be expanded. If property is false only one group can be collapsed. Is there an option to open/close as many groups as I want?
4 Answers, 1 is accepted
0
Hi Markus,
This not the expected behavior. You can check this online example, this behavior is not observed. Can you please provide more details about your specific implementation?
All the best,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This not the expected behavior. You can check this online example, this behavior is not observed. Can you please provide more details about your specific implementation?
All the best,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 25 Mar 2008, 01:53 PM
I found the line which causes the problem.
In "ItemCommand" event I use "e.Item.OwnerTableView.Rebind()". This line is suggested by you and you suggested it becasue I use GridButtonColumns with "Type=ImageButton" and I remove buttons for some rows. Without the line this was not working. So how can I get this work with this line of code?
In "ItemCommand" event I use "e.Item.OwnerTableView.Rebind()". This line is suggested by you and you suggested it becasue I use GridButtonColumns with "Type=ImageButton" and I remove buttons for some rows. Without the line this was not working. So how can I get this work with this line of code?
0
Accepted
Hi Markus,
Please, check this code library. It shows how to persist the groups expanded/collapsed state on rebind:
http://www.telerik.com/community/code-library/submission/b311D-bcmcgm.aspx
Best regards,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please, check this code library. It shows how to persist the groups expanded/collapsed state on rebind:
http://www.telerik.com/community/code-library/submission/b311D-bcmcgm.aspx
Best regards,
Ves
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 28 Mar 2008, 02:52 PM
I already get it work, but as desript in earlier reply I had a problem. But this behaviour is no more avaialble so every thing is OK now. Thanks for help!