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">
Please find the screenshot attached. File id and Order Columns dosent have data. And WebDataGrid displays Gray border instead of white border. Please help me in fixing the issue.
I am also facing the same problem. The grid has no border if the cell has no data. However I want the border even if there is no data in the cell. Infragistic 12.2 is installed in my machine. I could not find the Claymation styling folder in the location C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\ASP.NET\Styles folder. Help me by saying where could I get that styling folder and is there any other way to solve this problem?
Hi Mike,
Thanks again for the prompt response. I was actually (again) able to solve both issues. Our old pages used the following line to emulate IE7:
<META http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Removing this line fixed both issues.
Hello Mike,
Thank you for the update. I have done some looking into this matter and have created a sample. I have been unable to reproduce either of these issues. I am attaching my sample demonstrating this. To make this sample I used 12.1.20121.2072 of NetAdvantage for ASP.NET 2012 Volume 1. Do you have an isolated sample that reproduces this issue you can provide me? What version of NetAdvantage are you using? What is the version of IE8 you see this issue in?
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com