Forum
18:25
10/08/2009
Hello Tony,
There are old problem with the horizontal scroll bars in ASP.NET MVC projects. The default CSS created for empty ASP.NET MVC projects (Site.css) include the following:
{
border: solid 1px #e8eef4;
border-collapse: collapse;
}
table td
{
padding: 5px;
border: solid 1px #e8eef4;
}
The lines are used for all versions of ASP.NET MVC from 1.0 till 3.0.
As the results the horizontal scroll bar will be displayed for all jqGrids. One can of source fix the problem removing of the lines from the Site.css, but the newcomer don't know this.
So I suggest to include additional lines in the ui.jqgrid.css to fix the same problems:
div.ui-jqgrid-view table.ui-jqgrid-btable td { border-left-style:none }
div.ui-jqgrid-view table.ui-jqgrid-htable { border-style:none; /*border-top-style:none;*/ border-collapse:separate; }
div.ui-jqgrid-view table.ui-jqgrid-btable th { border-left-style:none }
I included commented lines with border-top-style:none; because I suspect, that the lines can fix additionally the height of jqGrid, but I don't test this myself.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
52 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66