7 Answers, 1 is accepted
Disabling column reordering is not currently possible, but it will be available in our upcoming Q1 release. Due to internal limitations it is not also possible to have cells that display wrapped text, but
I have managed to think of a workaround that you may try to use until we fix this problem.
I have attached a sample project that demonstrates how you can use a custom panel (ColumnWrapPanel) to enable text wrapping. You just have to define a custom style and template for the column that you would like to have wrapping and simply place a TextBlock element inside a ColumnWrapPanel.
Hope this will help.
Your feedback is greatly appreciated and your telerik points have been updated accordingly.
All the best,
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Before I jump into Q1, I'd like to know if having wrapped text is now supported? Can I get rid of this work around? If not, will the work around work in Q1?
Another option is displaying tooltips on a row with the full content of a cell. Is this supported?
Thanks in advance.
Guido
Our GridView does not support wrapped text by default. It will be available with the next release or SP. The good news is that this workaround will work fine with Q1.2009.
About the tool tip for the GridViewCell you can take a look in this thread to get some ideas. Hope this helps!
Kind regards,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Indeed with this specific release (2009.1.312.35) there are some API changes related to column resizing.
You actually do not need ColumnWidthConverter class, you need GridViewColumn.ActualWidth property.
I'm attaching a modified version of the example you already have with current official release (2009.1.526.35) binaries.
Don't hesitate to contact us if you have other question.
Regards,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
With this particular release you can get value from the "PixelWidth" property using reflection. Be aware that this will work only within a desktop application, since reflection of internal properties is not allowed in xbap applications.
I'm attaching a modified version of the example you already have for your reference.
P.S. Releases after 2009.1.312.35 changed PixelWidth property with more descriptive ActualWidth property which is already public.
Kind regards,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.