On Thu, 16 Oct 2008, ns_wicket wrote:
> I wanted to display a sortable datatable, so I read this:
> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
> 
> It works fine but I have few questions:
> 
> -1. This example is up to date?
> 
> 0. Is it the best solution?
> 
> 1. I read the html generated source code and I write css classes: headers,
> wicket_orderUp, even, odd, etc. Is it possible to put my own css class
> names? For example, can I put a different class for the first header column
> only?

You should just try things out in practice to see how they
go. You can customise a lot of things in a DataTable, but 
for heavy customisation I've found components that are more
bare-bone (DataView for example) easier. This is because 
DataTable uses a lot of other components inside it, and the
more of them you need to customise or replace entirely, the
more cluttered it becomes.

You can anyway use DataTable as a reference on how to 
achieve different things, as it has so much built-in 
functionality.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to