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
Thanks Mike,
I have just set
e.Layout.Override.CellSpacing = 1; and its working fine now.
Regards
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.
Hello abhiraj1234,
It seems to me that you are removing the grid lines in your UltraGrid for some reason. Could you please provide me the code that you are using in order to do that and also the code that you are using for setting the cells border style in your UltraGrid.
If you could provide me with a small sample reproducing this behavior I would be able to take a look at this issue further for you.
If you have any other questions please do not hesitate to ask.