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
IE8 Subgrid disappears
13/01/2010
01:32
Avatar
msshushu
Member
Members
Forum Posts: 15
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

Hi there, I have run into an issue that I can't seem to find a solution for on other forum posts. I have a master grid, with sub grids configured everytime you click on the + symbol next to a row. What I'm finding is that when i click the + without moving my mouse the subgrid renders fine, as soon as i move my mouse it disappears and won't come back unless i collapse and expand again.

I have found posts with users having similar issues and have tried downloading the latest files from github, but this still doesn't work for me. I am using the latest version of IE 8. Here is my code:

$("#contractors").jqGrid({

        url:'contractor_data.aspx?call=' + $("#<%= lblContractorCompany.ClientID %>").text(),

        datatype: 'json',

        mtype: 'GET',

        colNames:['ID','Full Name'],

        colModel:[

            {name:'ID',index:'ID', width:100,hidden:true},

            {name:'FullName',index:'FullName', width:55}            

        ],

        pager: "#contractorsPager",

        rowNum:-1,

        autowidth:true,

        height:"100%",

        sortname: 'ID',

        sortorder: "desc",

        viewrecords: true,

        caption: 'Contractors',

        subGrid: true,

        subGridRowExpanded: function(subgrid_id, row_id) {

            // we pass two parameters

            // subgrid_id is a id of the div tag created within a table

            // the row_id is the id of the row

            // If we want to pass additional parameters to the url we can use

            // the method getRowData(row_id) - which returns associative array in type name-value

            // here we can easy construct the following

            var subgrid_table_id;

            subgrid_table_id = subgrid_id+"_t";

            $("#"+subgrid_id).html("<table id='"+subgrid_table_id+"' class='scroll'></table>");

            $("#"+subgrid_table_id).jqGrid({

              url:"contractor_data.aspx?sub=true&fullname="+$("#contractors").getRowData(row_id).FullName + "&complete=" + $("#cbComplete").attr("checked") + "&verified=" + $("#cbVerified").attr("checked"),

              datatype: "json",

              colNames: ['ID','Customer','Full Name','Start Time','End Time','Project Name'],

              colModel: [

                {name:"ID",index:"ID",width:80},

                {name:"Customer",index:"Customer",width:130},

                {name:"FullName",index:"FullName",width:80,key:true},

                {name:"StartTime",index:"StartTime",width:80},           

                {name:"EndTime",index:"EndTime",width:100},

                {name:"ProjectName",index:"ProjectName",width:100}

              ],

              rowNum:-1,

              autowidth:true,

              height: "100%",

              rowNum:20,

              sortname: 'ID',

              sortorder: "desc"

            });

        }

    });

    $("#contractors").jqGrid('navGrid','#contractorsPager',{search:false,edit:false,add:false,del:false});

13/01/2010
01:41
Avatar
Rumen[Trirand]
Moderator
Members

Moderators
Forum Posts: 81
Member Since:
08/10/2009
sp_UserOfflineSmall Offline

Which version are you using? Something very similar to that was addressed in 3.6.2 released a few days ago:

http://www.trirand.com/jqgridw....._and_fixes

Trirand ASP.NET WebForms & MVC components based on jQuery & ThemeRoller

http://www.trirand.net

13/01/2010
02:18
Avatar
msshushu
Member
Members
Forum Posts: 15
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

How can i tell what version i am using? I updated my css and jgrid js files directly from github just before i posted this issue. Where do i properly obtain 3.6.2?

13/01/2010
02:26
Avatar
msshushu
Member
Members
Forum Posts: 15
Member Since:
13/01/2010
sp_UserOfflineSmall Offline

ok you guys are awesome, i grabbed 3.6.2 and replaced the 3 main files and i am good to go. works now!

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