Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1149
Fill Empty Space
posted

Dear sir/madam,

in order to fill the empty space, only graphically being understood, I found the usefull

grid.DisplayLayout.EmptyRowSettings.ShowEmptyRows = true;

that let me reach following layout :


but how can I obtain the following ?



I can't find any "ShowEmptyColumns" property...

Is there any ways?

 

Thanks in advance

Gianni

  • 469350
    Verified Answer
    Offline posted

    Hi Gianni,

    There is no ShowEmptyColumns property of any functionality like that in the WinGrid.

    You could add some unbound columns to the grid, if you like. Or, you might want to consider using the AutoFitStyle property to make all of the columns fit the available width of the grid so there is no empty space.