Forum
Tony,
My manager picked up on this one. He thinks its a big deal. This only effects my IE 7 render. When there is a subgrid for the main grid we put the + toggle in the first column, otherwise that column is blank. When the the + is present the gird gets a left and bottom border, but no top border. In FF, its always has borders, even if when it's blank.
I tried to find this in the css, but this class (sgcollasped) is add by js. If you can point me in the right direction I would appreciate it.
Thanks,
Jim
10:29
Moderators
30/10/2007
Hello,
Try to add some properties for this class in your page in head section
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
This is my solution. This takes away the border in cell 0 and only shows the + of there is subdata to show. In my case not all rows have subdata and that is determined by the two fields in the top row.
afterInsertRow : function(rowid,rowdata,rowelem) {
if (rowdata.x_parent_type == "children" && rowdata.x_parent_objid == 0)
{
$("#"+rowid+" td:eq(0)").empty().unbind("click").css("border-style","none");
}
else
{
$("#"+rowid+" td:eq(0)").css("border-style","none");
}
},
Most Users Ever Online: 715
Currently Online:
63 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