when i look at the markup of the headers toolbar i see

<wicket:panel>
    <tr class="headers">
        <span wicket:id="headers">
            <th wicket:id="header"><span wicket:id="label">&nbsp;</span></th>
        </span>
    </tr>
</wicket:panel>

that is, i see that the tr carries a class, and the th carries a class. if there is a sortable header then those also carry classes.

have you seen the demo of the datatable in examples? it is fully styled.

where else would you want me to add css classes?

-Igor

On 10/6/06, Leszek Gawron <[EMAIL PROTECTED] > wrote:
Stefan Lindner wrote:
> I can manipulate the data grip part of a DataTable by overriding newCellItem. But if I e.g. need a speical layout for the table header, I must add a class or id attribute to the <th> elements of the headline (different layout on the left and right side e.g.).
> I can see no way to manipulate the generation of the headline. O.K. I can design my own Toolbar according to HeadersToolbar but in most cases that's much too compülicated. Is there an easy way to control the generation of the table head?
>
> Stefan Lindner
I keep having exactly the same problems. DataTable components do not
carry any css classes so any visual customization/layout is hardly possible.

--
Leszek Gawron

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to