Author: konstantin.mishin
Date: 2007-10-04 12:40:21 -0400 (Thu, 04 Oct 2007)
New Revision: 3259
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
Log:
RF-1063
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-10-04
16:17:32 UTC (rev 3258)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2007-10-04
16:40:21 UTC (rev 3259)
@@ -132,6 +132,7 @@
this.getBody().adjustColumnWidth(index, width);
if(this.getFooter()) this.getFooter().adjustColumnWidth(index, width);
this.updateLayout();
+ this.getHeader().agjustSeparators();
this.eventOnResizeColumn.fire(index, width);
},
adjustScrollPosition: function(pos) {
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-10-04
16:17:32 UTC (rev 3258)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridHeader.js 2007-10-04
16:40:21 UTC (rev 3259)
@@ -468,7 +468,6 @@
this._columns[column].col.width = width>0 ? width : 1;
if(width<=0) this.getColumns()[column].sep.hide();
this._columns[column].width = width;
- this.agjustSeparators();
},
setFakeColumnWidth: function() {
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-10-04
16:17:32 UTC (rev 3258)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-10-04
16:40:21 UTC (rev 3259)
@@ -88,7 +88,6 @@
border-right: 1px dashed;
cursor: col-resize;
z-index: 100;
- display: none;
}
/**
Modified:
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx
===================================================================
---
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-10-04
16:17:32 UTC (rev 3258)
+++
branches/3.1.x/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table.jspx 2007-10-04
16:40:21 UTC (rev 3259)
@@ -68,7 +68,7 @@
<div id="#{clientId}" style="width:
#{component.attributes['width']};height:
#{component.attributes['height']};" class="dr-sdt rich-sdt
#{component.attributes['styleClass']}" >
- <div id="#{clientId}:cs" class="dr-sdt-hsplit" />
+ <div id="#{clientId}:cs" class="dr-sdt-hsplit"
style="display:none;"/>
<div id="#{clientId}_GridHeaderTemplate"
class="dr-sdt-inlinebox" style="#{hStyle}; width:
#{component.attributes['width']};">
<iframe id="#{clientId}:hs" class="dr-sdt-substrate"
src="" scrolling="no" frameborder="0" > <br/>
</iframe>
<div style="display: block; left: 0px; top: 0px; width:
#{sumWidth}px;">
Show replies by date