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
TreeGrid Not working on IE 6 and 7
05/06/2009
02:30
Avatar
Sid
Pune, India
Member
Members
Forum Posts: 5
Member Since:
05/06/2009
sp_UserOfflineSmall Offline

Hi Toni,

I am Using the JQGrid 3.5 alpha 3 release to render a Tree using Adjesancy model. The Entire Tree Grid along with Expand Nodes and Leaf nodes is working fine acorss the browsers except IE6 and IE7. In fact it is also working for IE8.

In IE6 and 7 the Expand Column in the grid appears as the normal column without any link or Expand Node image (folder iamge) in order to drill through it to view its child nodes.

As far as I read online and understood from other forums that IE6 and IE7 does not support most of the CSS and DOM models.

Any possible help with resoliution or workaround to this situation is much appriciated.

Thanks,

Sid

09/06/2009
05:08
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

If you give me a link to the problem it will be good. Also does the demo pages where we have a couple of tree grids work for you in IE6 and IE7?

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.

15/06/2009
05:26
Avatar
Sid
Pune, India
Member
Members
Forum Posts: 5
Member Since:
05/06/2009
sp_UserOfflineSmall Offline

Hi Tony,

Yes that the demo links shared by you for JQGid are working perfectly fine on IE6 and 7.

I just noticed it that even when I run it from JSP page it wirks fine for IE 6 / 7. In my applications at the Web layer we use XSL and as I found it is not working in IE6 and 7 only when I try to render it within the XSL page. 

I dont have any direct link which can we shared but I am posting the code from my XSL file hope if its usefull for you.

------------------------------------------------------------------------------------------------
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wdk="http://www.saba.com/XML/WDK">
    <xsl:import href="../wdk/xsl/view/wdk_defaultview.xsl"/>
    <xsl:variable name="css" select="/wdk:page/wdk:head/wdk:theme/href"/>
    <xsl:variable name="siteroot" select="/wdk:page/wdk:head/wdk:site/siteRoot"/>
    <xsl:template match="wdk:model">
        <link rel="stylesheet" type="text/css" media="screen" href="{$siteroot}/themes/sand/grid.css" />
        <link rel="stylesheet" type="text/css" media="screen" href="{$siteroot}/themes/jqModal.css" />
        <link rel="stylesheet" type="text/css" media="screen" href="{$siteroot}/css/ui.jqgrid.css" />
        <link rel="stylesheet" type="text/css" media="screen" href="{$siteroot}/css/ui.hoover.css" />
         
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/jquery.js</xsl:attribute></script>
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/hovertip.js</xsl:attribute></script>
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/jquery.jqGrid.js</xsl:attribute></script>
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/js/jqModal.js</xsl:attribute></script>
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/js/jqDnR.js</xsl:attribute></script>
        <script type="text/javascript"><xsl:attribute name="src"><xsl:value-of select="$siteroot"/>/js/grid.inlinedit.js</xsl:attribute></script>
       
        <script language="javascript"> 
       
        // initialize tooltips in a seperate thread
        $(document).ready(function() {
          window.setTimeout(hovertipInit, 1);
         });

        var lastsel;
        jQuery(document).ready(function(){
            jQuery("#list").jqGrid({
                url:'http://sparakh:8180/Saba/TestJ.....t&#39;,
                datatype: 'xml',
                colNames:['Username', 'FName','LName', 'Email','PersonNo','SSN'],
                colModel :[
                        {name:'username', index:'username', width:150, editable:false, align:'left',resizable:true, formatter: 'showlink'},
                        {name:'fname', index:'fname', width:90, editable:false, resizable:true},
                        {name:'lname', index:'lname', width:90, editable:false, resizable:true},
                        {name:'email', index:'email', width:180, editable:true, align:'left',resizable:true},
                        {name:'person_no', index:'person_no', width:100, editable:false, align:'right',resizable:true},
                        {name:'ss_no', index:'ss_no', width:100, sortable:false, editable:true, resizable:false} ],
                    pager: jQuery('#pager'),
                    sortname: 'fname',
                    sortorder: "asc",
                    viewrecords: true,
                    height:'auto',
                    autowidth: true,
                    cellEdit: true,
                    cellurl: 'http://sparakh:8180/Saba/TestJqGridServlet&#39;,
                    treeGrid: true,
                    treeGridModel : 'adjacency',
                    ExpandColumn : 'username',
                    imgpath: '/Saba/assets/themes/sand/images',
                    <!--caption: 'My Grid', -->
                    loadComplete: function()
                    {
                        window.setTimeout(hovertipInit, 1);
                    },
                    loadError : function(xhr,st,err)
                    {
                        jQuery("#rsperror").html("Type: "+st+"; Response: "+ xhr.status + " "+xhr.statusText);
                    }
                });
             });
       
       
        function myPopup(url)
        {
            var finalurl = '/common/profile/profileSnapshotPopup.rdf?managerContext=direct&amp;'+url;
            wdkPopupSubmitWithTitle(finalurl, "PersonProfile", "width=650,height=460,"+wdkBaseWindowFeatures,'');
        }     
        </script>
        <noscript>Script to refresh the page and perform other actions</noscript>
        <p class="sbMainPageHeadingText"><b>Response:</b></p>
        <span id="rsperror" style="color:red"></span>
        <table id="list" class="scroll" cellpadding="0" cellspacing="0"></table>
        <!-- <div id="pager" class="scroll" style="text-align: center;"></div> -->
    </xsl:template>
   
</xsl:stylesheet>

------------------------------------------------------------------------------------------------

Thanks for all your help.

Sid

17/06/2009
09:15
Avatar
tony
Sofia, Bulgaria
Moderator
Members

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

Hello,

I'm little confused - which version of jqGrid do you use actualy?

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.

18/06/2009
07:49
Avatar
Sid
Pune, India
Member
Members
Forum Posts: 5
Member Since:
05/06/2009
sp_UserOfflineSmall Offline

Hi Tony,

As I have mentioned in my intial post I am using JQGrid 3.5 alpha 3.

Regards,

Sid

23/09/2009
00:27
Avatar
Ryan
Guest
Guests

I have the same problem. I should be possible to replicate using above data. I am using JSON to import the tree grid configuration and data.

24/09/2009
15:42
Avatar
Ryan
Guest
Guests

** This is a post from another thread. this does not work in IE7 at all... something rather screwy going on with IE7 and treegrid.

I have a working example here:

http://www.blackstag.com/json-example

it's not adjacency, but it shouldn't matter – since your issues are json related.

just use firebug and look at the console return json data.

tim

05/11/2009
13:23
Avatar
MarkM
Guest
Guests

Ryan, 

I looked at your JSON data at http://www.blackstag.com/json-example.  You have a trailing comma in your JSON, which is not accepted by IE, but will work in FF.  If you are still having an IE issue, I would look to change that first. 

05/11/2009
14:06
Avatar
tim
Guest
Guests

> “You have a trailing comma in your JSON, which is not accepted by IE, but will work in FF.”

Interesting I didn't know that. This was an old example I pitched out there weeks ago  (I didn't even know it was still up. It was a good halloween theme, but the holiday is now over. I will either correct it tonight or take it down).

thanks,

tim

06/11/2009
01:56
Avatar
tim
Guest
Guests

ryan,

Try the link now....

tim

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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