Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Issue with TreeGrid connectors on MS Edge and IE11

    Click image for larger version

Name:	treegrid_edge.png
Views:	69
Size:	35.1 KB
ID:	238265



    TreeGrid with connectors looks like above on Microsoft Edge and IE 11.
    The dotted vertical lines are shifted to the right by 1 pixel.
    I have not tried other versions of IE.
    The latest versions of Firefox and Chrome don't have the problem.

    I see this with SmartGWT 6.0 and 6.1 nightly builds.

    So, I looked at ISC_Grids.js and commented out one statement in bold below fixed the issue.

    Code:
    _7=this.isPrinting||isc.Browser.isIE||isc.Browser.isOpera||isc.Browser.isEdge,_8=(_7?1:0);if(this.showConnectors&&this.showFullConnectors){var _9=this.data.$59a(_2);_9.remove(_1);if(!this.showRoot)_9.remove(0);if(_9.length!=0){if(!this.$59c){var _10="ancestor";if(this.isRTL())_10+="_rtl";var _11=isc.Img.urlForState(this.connectorImage,null,null,_10),_12=this.getIconHTML(
    _11,null,this.getOpenerIconWidth(_2),null,this.cellHeight);this.$59c=_12}
    var _13=this.$348(_6),_14=isc.StringBuffer.create(isc.emptyString);_14.append("<NOBR>");[B]/*if(_7)_14.append(this.$348(1
    ));[/B]*/for(var i=(this.showRoot?0:1);i<_1;i++){if(_9.contains(i)){_14.append(this.$59c)}else{_14.append(_13)}
    _8+=_6}
    I am not suggesting this is the right fix but this should help you guys fix the root cause.
    BTW, the above code is the only place that isc.Browser.isEdge is used in ISC_Grids.js
    Last edited by jeongyun; 26 May 2016, 10:10.

    #2
    Thanks for the notification and the code snippet / comment.
    We've made a change to address this in SmartGWT 6.0 and 6.1. Please try the next nightly build (June 1 or above) and let us know if you continue to encounter this problem.

    Regards
    Isomorphic Software

    Comment

    Working...
    X