Author: pkawiak
Date: 2008-07-28 07:52:51 -0400 (Mon, 28 Jul 2008)
New Revision: 9802
Modified:
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js
Log:
Hiding borders in ie6
Modified:
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js
===================================================================
---
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js 2008-07-28
11:21:37 UTC (rev 9801)
+++
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTable.js 2008-07-28
11:52:51 UTC (rev 9802)
@@ -319,7 +319,7 @@
ClientUILib.log(ClientUILogger.INFO, "mainDivWidth: " +
this.mainDiv.getWidth());
var scrollbarWidth = scrollingDiv.getElement().offsetWidth -
scrollingDiv.getElement().clientWidth;
var maxAllowedWidth = this.mainDiv.getWidth() - scrollbarWidth;
- var excessWidth = this.header.getVisibleWidth() - maxAllowedWidth;
+ var excessWidth = this.header.getVisibleWidth() - maxAllowedWidth - 1;
ClientUILib.log(ClientUILogger.ALERT, "1");
if (excessWidth > 0) {
ClientUILib.log(ClientUILogger.INFO, "excessWidth: " + excessWidth);
Modified:
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js
===================================================================
---
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js 2008-07-28
11:21:37 UTC (rev 9801)
+++
trunk/sandbox/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableHeader.js 2008-07-28
11:52:51 UTC (rev 9802)
@@ -207,18 +207,12 @@
originalX: 0
};
var srcElement = this.dragColumnInfo.srcElement;
- if (ClientUILib.isOpera) {
- this.maxDelta = this.getColumnWidth(this.getColumnsNumber()-1);
- if (ClientUILib.isOpera) {
- this.maxDelt -= 1;
- };
- ClientUILib.log(ClientUILogger.INFO, "this.maxDelta: " +
this.maxDelta);
- }else{
- this.maxDelta = this.getColumnWidth(this.getColumnsNumber()-1);
- ClientUILib.log(ClientUILogger.INFO, "this.maxDelta: " +
this.maxDelta);
- this.maxDelta -= this.extDt.getScrollbarWidth();
- ClientUILib.log(ClientUILogger.INFO, "this.extDt.getScrollbarWidth()
" + this.extDt.getScrollbarWidth());
- }
+ this.maxDelta = this.getColumnWidth(this.getColumnsNumber()-1);
+ this.maxDelta -= this.extDt.getScrollbarWidth();
+ if (ClientUILib.isOpera) {
+ this.maxDelt -= 1;
+ };
+ ClientUILib.log(ClientUILogger.INFO, "this.maxDelta: " +
this.maxDelta);
this.minDelta = this.minColumnWidth - this.getColumnWidth(srcElement.columnIndex);
Event.observe(document, 'mousemove', this.eventSepMouseMove, true);
Event.observe(document, 'mouseup', this.eventSepMouseUp, true);
Show replies by date