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
160
Empty cells not drawing grid lines
posted

I'm trying to upgrade our UltraWebGrid to the new WebDataGrid and I'm having trouble with the css. I want the grid to show 1px borders, even if there is no data in the cell. Our old grid looks like this: 

And the new grid looks something like this:

The places where data is missing don't apply the css, so the grid has a bunch of empty sections with no grid lines. Here is the css I'm using to apply the borders:

tbody.igg_BorderClass>tr>td
{
border: 1px solid #BBB;
}

This is set under the ItemCssClass property of WebDataGrid. Any help is appreciated.


Thanks,

Mike

Parents
No Data
Reply
  • 5
    posted

    This could be a browser compatibility issue. It was showing up only when I disabled the compatibility view in IE9. For me, it's resolved when I specified doctype as transitional

     

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Children
No Data