Collapse feature not working in IE

107 views
Skip to first unread message

vinod v

unread,
Feb 6, 2012, 11:46:22 AM2/6/12
to JavaScript InfoVis Toolkit
I am new to JIT, but impressed by the demos and I am using space tree
in my project.

I am facing issues while collapsing a node in IE. My issue is that I
have a Node which contains Child node(Children for parent or root
node) and these child nodes in turn contains child nodes or sub nodes
(i.e grand children for the parent or root node). When I am expanding
and collapsing collapsing a child node it work properly in IE, but
when a child node is expanded and then when I try to collapse the
parent or root node the grand children are not getting collapsed.This
works perfectly in Mozilla.

Any help in this would be much appreciated.

Raamesh Keerthi

unread,
Feb 22, 2012, 7:27:54 AM2/22/12
to JavaScript InfoVis Toolkit
For me Its showing that Loading and two script errors...

but perfectly working in Chrome and Mozilla....

jai kishan

unread,
Feb 22, 2012, 10:44:24 PM2/22/12
to javascript-information...@googlegroups.com
i guess it is the issue with IE support

var xmlhttp;
        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        } else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

this is ajax capability for IE and other browsers. i guess you will need somthing similar code for your tree to display on IE, or install the latest vesion of IE and check if the issue is resolved or not.

-kishan


--
You received this message because you are subscribed to the Google Groups "JavaScript InfoVis Toolkit" group.
To post to this group, send email to javascript-information...@googlegroups.com.
To unsubscribe from this group, send email to javascript-information-visua...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javascript-information-visualization-toolkit?hl=en.


Raamesh Keerthi

unread,
Feb 22, 2012, 11:25:48 PM2/22/12
to JavaScript InfoVis Toolkit
Hi, Kishan,

I tried the code but SpaceTree is not working... Same loading is shown
and two script errors are there...

Thanks and Regards
Raamesh Keerthi N.J

On Feb 23, 8:44 am, jai kishan <meetingkis...@gmail.com> wrote:
> i guess it is the issue with IE support
>
> var xmlhttp;
>         if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome,
> Opera, Safari
>             xmlhttp = new XMLHttpRequest();
>         } else {// code for IE6, IE5
>             xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
>         }
>
> this is ajax capability for IE and other browsers. i guess you will need
> somthing similar code for your tree to display on IE, or install the latest
> vesion of IE and check if the issue is resolved or not.
>
> -kishan
>
> On Wed, Feb 22, 2012 at 5:57 PM, Raamesh Keerthi <raameshkeer...@live.com>wrote:
>
>
>
>
>
>
>
> > For me Its showing that Loading and two script errors...
>
> > but perfectly working in Chrome and Mozilla....
>
> > On Feb 6, 9:46 pm, vinod v <vinodv1...@gmail.com> wrote:
> > > I am new to JIT, but impressed by the demos and I am using space tree
> > > in my project.
>
> > > I am facing issues while collapsing a node in IE. My issue is that I
> > > have a Node which contains Child node(Children for parent or root
> > > node) and these child nodes in turn contains child nodes or sub nodes
> > > (i.e grand children for the parent or root node). When I am expanding
> > > and collapsing collapsing a child node it work properly in IE, but
> > > when a child node is expanded and then when I try to collapse the
> > > parent or root node the grand children are not getting collapsed.This
> > > works perfectly in Mozilla.
>
> > > Any help in this would be much appreciated.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "JavaScript InfoVis Toolkit" group.
> > To post to this group, send email to
> > javascript-information...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > javascript-information-visua...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/javascript-information-visualization-t...
> > .

kishan

unread,
Feb 22, 2012, 11:27:01 PM2/22/12
to JavaScript InfoVis Toolkit
post the errors !!!!

Raamesh Keerthi

unread,
Feb 22, 2012, 11:35:23 PM2/22/12
to JavaScript InfoVis Toolkit
Errors:

Message: 'null' is null or not an object
Line: 754
Char: 5
Code: 0
URI: http://raamesh-pt16:8080/MapRepresentation/script/asset-viz.js


Message: Invalid argument.
Line: 12
Char: 12949
Code: 0
URI: http://raamesh-pt16:8080/MapRepresentation/script/jquery-1.3.2.min.js

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

Thanks and Regards
Raamesh Keerthi N.J




vinod v

unread,
Feb 29, 2012, 8:09:10 AM2/29/12
to JavaScript InfoVis Toolkit
I am using context menu on each node, this context menu as Expand and
Collapse link. Whenever I select Collapse the contract method
mentioned in API is not working, so I did a work around by writing the
following funtion

function nodeCollapse(st, collapseNode){
collapseNode.collapsed=false;
st.op.contract(collapseNode);
collapseNode.anySubnode(function(collapseNode) {
nodeCollapse(st, collapseNode);
});
};
> > > > somthing similar code for yourtreetodisplayon IE, or install the latest
Reply all
Reply to author
Forward
0 new messages