|
TableFeatures
new Table Feature
Featured IntroductionThe tag table from original SWIXML didn't allow possibility to describe the columns. In SWIXML2 we have added the possibility to describe column using XML Rapresentation An example of code could be checkout from svn : http://swixml2.googlecode.com/svn/trunk/examples the package is examples.table (use the last swixml2 SNAPSHOT) Table Examples<scrollpane constraints="BorderLayout.CENTER">
<table id="table2" action="selectRow" dblClickAction="activateRow2" cellSelectionEnabled="true" bindList="${myData2}" >
<tableColumn bindWith="field2" type="java.lang.Boolean" maxWidth="20" resizable="false" headerValue="X" editable="true" />
<tableColumn bindWith="field1" type="java.lang.Integer" headerValue="#" maxWidth="50" resizable="false" />
<tableColumn bindWith="field3" preferredWidth="20" editable="true" resizable="true"/>
</table>
</scrollpane>
To have a complete live example click here Table Tag extended Attributes
TableColumn Tag Attributes
| |||||||||||||||||||||||||||||||||||||||