I just started implementing the Xceed Grid in my existing application, but I have been doing this for months with columns in a ListView (detail view) and the approach is the same for me.
Hook into the “resized” event then, do the following
myGrid.Columns(“leftCol”).Width = 100 ‘a fixed amount
myGrid.Columns(“rightCol”).Width = 100 ‘another fixed amount
myGrid.Columns(“middleCol”).Width = (myGrid.Width – 200)
I have also done a more complicated one where the “fixed” columns were percentages of the total, with the middle taking up the remaining amount.
Imported from legacy forums. Posted by JeanLGentile (had 3232 views)