Hello Everyone,
I have a nice looking UltraGrid with a few columns of buttons. But the buttons like pretty bad because there is no padding between them.
Can I add cell padding / spacing between columns / rows or individual cells??
Thanks,
Yes. Check out the CellPadding and / or CellSpacing property on the grid.DisplayLayout.Override.
Thanks for the reply. That solution is close to what I need but it makes all of the other columns in the UltaGrid have the identical cell padding or cell spacing which looks pretty bad...
This is the code I'm using - it adds some nasty gray space between the text content and the cell wall of all the other cells - I'm trying to eliminate that gray space with the else condition - I tried values of -1, 0 and 1 and all are ignored.
//HOW TO MAKE THE BUTTONS NOT FLUSH WITH THE CELL WALLS???
{
ultraGridColumn.Layout.Override.CellSpacing = 4;
}
else
ultraGridColumn.Layout.Override.CellSpacing = -1;