I'd like to set the column width within xaml where they're relative to each other. Something like column A will be 50%, Column B 25%, Column C 15%, Column D 10%. I know this is possible since the user can manually drag the columns width roughly to be that, and resizing of Window will result in all columns width changed accordingly.
Grid Column - Provide a way to set the column width relative to other columns
Answers approved by DevExpress Support
This functionality became available in version 16.1 - starting with this version, the type of the Width property is changed to GridColumnWidth, and this property can be set to absolute and proportional values.
Hello,
>I'd like to set the column width within xaml where they're relative to each other… I know this is possible since the user can manually drag the columns width roughly to be that, and resizing of Window will result in all columns width changed accordingly.
We change columns' width based on our internal algorithm. We don't provide any way to change this algorithm. We agree that this is a good feature. I've converted this issue to a suggestion.
Thank you, Marina
Please consider to implement this feature, it is really very useful.
In the latest versions of DXGrid, you can implement this functionality using the BandedViewBehavior extension. I suggest you review our "Data Grid -> Banded View" demo that demonstrates how to use this extension.
Please try this extension and feel free to reactivate this thread if you have additional questions.
Thanks