Hi,
I'd like to have a combination of the ColumnWidth "SizeToCells" and "Star". What I would like is the last column to fit the available space but if the content does not fit, then it should display horizontal scrollbars.
I can achieve that behaviour by setting the MinimumWidth property. However, I don't know the minimum width and I would like the grid to do it for me (as it does for the SizeToCells).
I tried adding an extra column with ColumnWidth=Star and style it so that the 2 last columns look like one. My issue is then that I can't sort when clicking on one of the columns :(
Any input on that? Can I achieve what I want?
Cheers.
Unfortunately, we currently don't have such a sizing behavior, and i'm not really sure how you can achieve it with the xamWebGrid.
I'll keep thinking about it, and if i come up with anything, i'll let you know.
-SteveZ
Thanks.
I was thinking of setting the grid to SizeToCells and then set it to Star programmatically once the width has been calculated. However, SizeToCells only calculates the width for the visible cells :(
I'm not going to add any more items to the grid, so a solution that only works on the initial load is fine for me.