MailingWicketUser wrote on 13.04.2006 at 11:42: > Is there an "elegant" way to set the column widths when using a > DataTable (from wicket-extensions)? As this is a matter of design, I > anticipate a solution where I can set the widths in HTML or CSS. > Something like the following would be nice:
Without trying it, just looking at the source of DataTable, I'm confident that you can define your widths just like that :) > <table wicket:id="table"> > <colgroup> > <col width="100" /> > <col width="100" /> > </colgroup> > </table> But I'm just a beginning wicket user as well, so maybe your colgroup tags are just ignored in the rendered ouput. Then you'd have to use CSS as Juergen mentioned, or make a subclass of DataTable and provide your own HTML for it. -- greetings from Berlin, Rüdiger Schulz ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
