I'm using RadPropertyGrid with multiple RadPropertyStore objects. The properties names are quite long and their length are run-time dependent. How can I auto resize (move the splitter) columns in RadPropertyGrid to fit contents of both the widest PropertyName and the Value.
Best regards,
Mirek
3 Answers, 1 is accepted
0
Accepted
Ivan Petrov
Telerik team
answered on 07 Dec 2011, 11:13 AM
Hello Mirek,
Thank you for writing.
Currently, the widths of the columns can only be set by code to a given value. You can use the following code to set the width of the value column:
The auto sizing for the columns is a good idea and I have added it to our Public Issue Tracking System. You can track its progress and vote for it on the following link - PITS Feature.
I have also updated your Telerik points for the good suggestion.
If you have further questions, I would be glad to help.
is there an event for the changing of the splitter position ?
Best regards
Fritz
0
Dimitar
Telerik team
answered on 11 Feb 2015, 04:49 PM
Hello Frits,
Thank you for writing.
There is no event that will fire when the ValueColumnWidth property is changed. I have logged this in our Feedback Portal. You can track the item for status changes and add your vote for it here.
Unfortunately due to the nature of the issue I cannot provide you with a workaround for it.
Should you have any other questions do not hesitate to ask.
Regards,
Dimitar
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.