this.direction=Rico.getStyle(this.outerDiv,'direction').toLowerCase(); // ltr or rtl
this.align=this.direction=='rtl' ? ['right','left'] : ['left','right'];
Rico.log('createColumnArray: dir='+this.direction);
+ for (var i=0; i<2; i++) Rico.addClass(this.thead[i].rows[this.headerRowIdx],'rico_ResizeRow');
this.columns = [];
for (var c=0; c < this.headerColCnt; c++) {
Rico.log("createColumnArray: c="+c);
return Rico.windowHeight()-divPos.top-2*this.options.scrollBarWidth-15; // allow for scrollbar and some margin
},
- setHorizontalScroll: function() {
- var newLeft=(-this.scrollDiv.scrollLeft)+'px';
- this.hdrTabs[1].style.marginLeft=newLeft;
- },
-
- pluginScroll: function() {
- if (this.scrollPluggedIn) return;
- Rico.eventBind(this.scrollDiv,"scroll",this.scrollEventFunc, false);
- this.scrollPluggedIn=true;
- },
-
- unplugScroll: function() {
- Rico.eventUnbind(this.scrollDiv,"scroll", this.scrollEventFunc , false);
- this.scrollPluggedIn=false;
- },
-
hideMsg: function() {
this.messagePopup.closePopup();
},
*/
getDisplayName: function(el) {
var anchors=el.getElementsByTagName("A");
- //Check the existance of A tags
- if (anchors.length > 0)
- return anchors[0].innerHTML;
- else
- return Rico.stripTags(el.innerHTML);
+ var s=anchors.length > 0 ? anchors[0].innerHTML : Rico.stripTags(el.innerHTML);
+ return Rico.trim(s);
},
_clear: function(gridCell) {