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
Subgrid disappears when mouse moves
08/12/2009
21:11
Avatar
andrewwu78
Member
Members
Forum Posts: 4
Member Since:
08/12/2009
sp_UserOfflineSmall Offline

Hi,  there seems to be an issue with shrinkToFit or when horizontal scroll bar appears.

I'm having an issue the the grid when trying to use shrinkToFit to contains a large number of columns within the view.  This issue is only occurring in IE (Firefox works fine). 

Scenario: With subgrid to be displayed when clicking on the expanding + icon, wait until subgrid loads, move mouse, the subgrid will disappear.  Click on the row once or twice to highlight the row, the subgrid will appear again, hover order the parent row again, it disappears.

Is this something I'm not doing correctly?  The code looks like below (I trimed the columns down to make it simply but basically I have arnd 20 columns that needs horizontal scroll bar).

        $("#tb").jqGrid({       
            caption:"",
            url:"\\data.aspx",
            mtype:"POST",
         datatype:"json",
         postData:getPostData(),
         height:"100%",
         shrinkToFit:false,
            colNames:['C1'],
            colModel:[
                {name:'C1',index:'C1',hidden:true}
            ],
            pager:$('#nav'),
            pgbuttons:false,
            pgtext:false,
            pginput:false,
            viewrecords:true,
            sortname:'C1',
            sortorder:"asc",
            subGrid:true,
            subGridRowExpanded:function(subgrid_id, row_id) {
                var row=$('#tb').getRowData(row_id);
                var subgrid_table_id=subgrid_id+"_t";
                    $("#"+subgrid_table_id).jqGrid({
               url:"data2.aspx",
               postData:{ row:row.id },
                        mtype: "POST",
                     datatype: "json",
               colNames: ['S1'],
               colModel: [{name:"S1",index:"S1",width:60}]
                     width:600,
       height: '100%'
              }).navGrid();
            }
        });

08/12/2009
21:17
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

Thanks for this. We know about this.

The problem is fixed. I will publish next bug fix after day or two, or you can grab the source from GitHub

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

08/12/2009
22:31
Avatar
andrewwu78
Member
Members
Forum Posts: 4
Member Since:
08/12/2009
sp_UserOfflineSmall Offline

Thx Tony.  Just to mention, I think this is a really nice plugin.  And now, I will go grab those new fixes. =)

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
56 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