moraleslos
03-24-2007, 09:11 AM
Hi,
I'm going through the OL docs trying to figure out how to be able to widen/shrink the columns of my grid but am not finding anything. Basically I have a table with three columns, something similar to this:
<view>
<simplelayout axis="x"/>
<datapath xpath="bsDataset:/item/createBookResponse"/>
<text resize="true" selectable="true" datapath="books/book[1]/title/text()"/>
<inputtext resizable="true" datapath="books/book[1]/quantity/text()"/>
<inputtext resizable="true" datapath="books/book[1]/price/text()"/>
</view>
Here the quantity and price columns are editable. Sometimes if the user inputs a price or quantity larger than the default or allowable width, I want the user to be able to widen the respective column. This is analogous to Java Swing's JTable functionality where the column header can be widen or shrunk just by dragging the edge of that column header left or right. Can this be done in OL? Thanks in advance.
-los
I'm going through the OL docs trying to figure out how to be able to widen/shrink the columns of my grid but am not finding anything. Basically I have a table with three columns, something similar to this:
<view>
<simplelayout axis="x"/>
<datapath xpath="bsDataset:/item/createBookResponse"/>
<text resize="true" selectable="true" datapath="books/book[1]/title/text()"/>
<inputtext resizable="true" datapath="books/book[1]/quantity/text()"/>
<inputtext resizable="true" datapath="books/book[1]/price/text()"/>
</view>
Here the quantity and price columns are editable. Sometimes if the user inputs a price or quantity larger than the default or allowable width, I want the user to be able to widen the respective column. This is analogous to Java Swing's JTable functionality where the column header can be widen or shrunk just by dragging the edge of that column header left or right. Can this be done in OL? Thanks in advance.
-los