Hi
 
I have this suggestion for an extension to the DataTable component that will make it easier to set width and ccs styles individually on each column.
 
It involves these files (attached):
 
 IColumn.java - new getWidth() and getStyleName()
 AbstractColumn.java - implement default get/set Width and StyleName
 DataTable.html - added <colgroup>section
 DataTable.java - added a few lines.
 
Usage like:
  IColumn column = new PropetyColumn(...);
  column.setStyleName("rightadjust");
  column.setWidth(200);
 
Would this be a useful improvement for other Wicket users?
 
Niels

Attachment: datatable.isazip
Description: Zip compressed data

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to