I have set Border Color for cell in ultrawingrid at dynamically but it is not showing properly at run time.
as shown above image.
How can i get currect one. i want full ractangle .
Thanks
krishna
Hi krishna,
It's very difficult to control the borders on a cell level because most cells in the grid do not draw all four sides of their own borders. If every cell drew all 4 borders, then there would be a double-thick border between every two cells. So most cells only draw 1, 2, or 3 sides and then just rely on the surrounding cells to draw the other borders.
If you want to force cells in the grid to draw all 4 sides, then you can set the grid.DisplayLayout.Override.CellPadding property to a number greater than 0. This will create a gap in between the cells and so each cell will no longer be able to rely on it's neighboring cells and therefore it will draw all 4 borders for itself.
Thanks Mike,
I have just set
e.Layout.Override.CellSpacing = 1; and its working fine now.
Regards