Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
IE css bug in subgrid rendering
19/03/2009
15:07
Avatar
Jim P
Member
Members
Forum Posts: 102
Member Since:
29/01/2009
sp_UserOfflineSmall Offline

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

21/03/2009
10:29
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

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.

23/03/2009
07:08
Avatar
Jim P
Member
Members
Forum Posts: 102
Member Since:
29/01/2009
sp_UserOfflineSmall Offline

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");     
      } 
     },

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information