Author: konstantin.mishin
Date: 2007-06-21 10:02:09 -0400 (Thu, 21 Jun 2007)
New Revision: 1252
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
add control resize JS API
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-06-21
14:01:35 UTC (rev 1251)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-06-21
14:02:09 UTC (rev 1252)
@@ -88,6 +88,19 @@
if (this.selectionManager) {
this.selectionManager.addListener(argMap.row, argMap.index);
}
+ },
+
+ setSizes: function(width, height) {
+ var style = this.element.style;
+ style.width = width +"px";
+ style.height = height +"px";
+ this.updateLayout();
+ },
+
+ doExpand: function(index) {
+ },
+
+ doCollapse: function(index) {
}
});
Show replies by date