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
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.
Hi Mike,
I already use the autofit, when possible, but if you have just 2 or 3 columns, to enlarge them is worst than have the empty space.
What do you mean when you say unbound columns? How can I do that? can that columns be shown with different appearance respect other columns with data?
Thanks