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
120
cell BorderStyle not showing properly
posted

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

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children