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}
BTW, the above code is the only place that isc.Browser.isEdge is used in ISC_Grids.js
Comment