You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ChuckDeal <cd...@csc.com> on 2007/09/07 15:12:05 UTC

DataTable header that spans multiple columns

When using the DataTable with HeadersToolbar you can display the Label
associated with the column as the column Header.  Has anyone had a case
where they wanted a label to span columns?  Specifically, something where
row one is a category that spans three columns and then row two contains
individual columns where the label represents a specific category.

Has anyone done this or does anyone have a good idea how to solve this in a
"nice" way?

Thanks
Chuck
-- 
View this message in context: http://www.nabble.com/DataTable-header-that-spans-multiple-columns-tf4401243.html#a12554956
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DataTable header that spans multiple columns

Posted by Igor Vaynberg <ig...@gmail.com>.
if its _just_ the header, then simply create your own headerstoolbar

-igor


On 9/7/07, ChuckDeal <cd...@csc.com> wrote:
>
>
> The *content* of the datatable is tabular, it is just the heading that I
> was
> trying to render in a more elaborate layout.
>
> Would you still offer the same advice even if it is just the header?
>
> Chuck
>
>
> igor.vaynberg wrote:
> >
> > datatable is really made for tabular data. if you have spans, etc, then
> i
> > suggest you go with a dataview
> >
> > -igor
> >
> >
> > On 9/7/07, ChuckDeal <cd...@csc.com> wrote:
> >>
> >>
> >> When using the DataTable with HeadersToolbar you can display the Label
> >> associated with the column as the column Header.  Has anyone had a case
> >> where they wanted a label to span columns?  Specifically, something
> where
> >> row one is a category that spans three columns and then row two
> contains
> >> individual columns where the label represents a specific category.
> >>
> >> Has anyone done this or does anyone have a good idea how to solve this
> in
> >> a
> >> "nice" way?
> >>
> >> Thanks
> >> Chuck
> >
>
> --
> View this message in context:
> http://www.nabble.com/DataTable-header-that-spans-multiple-columns-tf4401243.html#a12557319
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: DataTable header that spans multiple columns

Posted by ChuckDeal <cd...@csc.com>.
The *content* of the datatable is tabular, it is just the heading that I was
trying to render in a more elaborate layout.

Would you still offer the same advice even if it is just the header?

Chuck


igor.vaynberg wrote:
> 
> datatable is really made for tabular data. if you have spans, etc, then i
> suggest you go with a dataview
> 
> -igor
> 
> 
> On 9/7/07, ChuckDeal <cd...@csc.com> wrote:
>>
>>
>> When using the DataTable with HeadersToolbar you can display the Label
>> associated with the column as the column Header.  Has anyone had a case
>> where they wanted a label to span columns?  Specifically, something where
>> row one is a category that spans three columns and then row two contains
>> individual columns where the label represents a specific category.
>>
>> Has anyone done this or does anyone have a good idea how to solve this in
>> a
>> "nice" way?
>>
>> Thanks
>> Chuck
> 

-- 
View this message in context: http://www.nabble.com/DataTable-header-that-spans-multiple-columns-tf4401243.html#a12557319
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DataTable header that spans multiple columns

Posted by Igor Vaynberg <ig...@gmail.com>.
datatable is really made for tabular data. if you have spans, etc, then i
suggest you go with a dataview

-igor


On 9/7/07, ChuckDeal <cd...@csc.com> wrote:
>
>
> When using the DataTable with HeadersToolbar you can display the Label
> associated with the column as the column Header.  Has anyone had a case
> where they wanted a label to span columns?  Specifically, something where
> row one is a category that spans three columns and then row two contains
> individual columns where the label represents a specific category.
>
> Has anyone done this or does anyone have a good idea how to solve this in
> a
> "nice" way?
>
> Thanks
> Chuck
> --
> View this message in context:
> http://www.nabble.com/DataTable-header-that-spans-multiple-columns-tf4401243.html#a12554956
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>