Hi,
I do not want to specify width for each and every column(Field) that I am showing in a grid.
But, I want to limit a minimum width for "all" columns of a grid. So that, I only tamper the default width of a column if it is less than the Minimum width that I want all columns to have. Is that possible?
Thanks.
Hello Vikram,
I can suggest you add a Style for the CellControl and set its MinWidth Property like this:
<Style TargetType="{x:Type ig:CellControl}"> <Setter Property="MinWidth" Value="250"/> </Style>
Hope this helps you.
How i do same (min width to all cols) with XamGrid? i have 100 columns so i want to do this with one step
Is it possible to specify CellMinWidth in Percentage. I cannot specify a fixed width as the end users have different monitor sizes.
The ask is to have a autofit functionality while load and if the user resizes the column the scrollbar should appear.
Thank you
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking through it and I suggest you set the XamDataGrid’s FieldSettings CellMinWidth Property. Please let me know if this is what you are trying to achieve or I have misunderstood you in some way.
Looking forward for your reply.