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
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">