You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "dariusz.holda" <da...@lehman.com> on 2007/11/27 12:28:01 UTC

Floating Column

Hi,
Is it possible in Wicket to do a floating column? I have a DataView that has
so many columns that it expands over one screen. I would like to make one
column to stay on the screen all the time even if a user scrolls
horizontally to the other side of the DataView. Has anybody tried that? Any
ideas where to start?

Cheers,
Dariusz

-- 
View this message in context: http://www.nabble.com/Floating-Column-tf4881169.html#a13969119
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: Floating Column

Posted by "dariusz.holda" <da...@lehman.com>.
I've found solution for the problem of freezing columns. Here is the link to
the solution if anyone is interested:
http://home.tampabay.rr.com/bmerkey/examples/locked-column-csv.html


-- 
View this message in context: http://www.nabble.com/Floating-Column-tp13969119p14601066.html
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: Floating Column

Posted by "dariusz.holda" <da...@lehman.com>.
Sorry, I've been dragged to another task and my floating column got low
priority.
I'm not sure how would I style the table cell if I have dataview and my
table has headers. E.g. :
<table>
 <thead>
  <th>header1</th>
  <th>header2</th>
  ...
  <th>headern</th>
 </thead>
 <tbody>
  <tr wicket:id="dataViewId">
    <td>column1</td>
    <td>column2</td>
    ...
    <td>columnn</td>
  </tr>
 </tbody>
</table>
and I want column1 to stay on the screen all the time. Even if user scrolls
to the right and normally the column wouldn't be seen.

Thx,
Dariusz


I've done something similar. The entire component was in a table with two
cells. The fixed column was in a first TD, while the rest was contained in
another TD element. The point is, that it has nothing to do with wicket, it
is about how you choose your markup and style it using CSS.

-- 
View this message in context: http://www.nabble.com/Floating-Column-tp13969119p14598509.html
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: Floating Column

Posted by Alex Objelean <al...@isdc.ro>.
Sorry, didn't read the post carefully. 

I've done something similar. The entire component was in a table with two
cells. The fixed column was in a first TD, while the rest was contained in
another TD element. The point is, that it has nothing to do with wicket, it
is about how you choose your markup and style it using CSS.


Matej Knopp-2 wrote:
> 
> On Nov 27, 2007 3:23 PM, Alex Objelean <al...@isdc.ro> wrote:
>>
>> It is up to you how to style the markup. A little of CSS can do all you
>> need.
> little CSS? for a floating column that says on screen while other
> scroll? Heh, I doubt it :)
> At least if you want to work it across different browsers.
> 
> -Matej
>>
>> Alex
>>
>>
>>
>> dariusz.holda wrote:
>> >
>> > Hi,
>> > Is it possible in Wicket to do a floating column? I have a DataView
>> that
>> > has so many columns that it expands over one screen. I would like to
>> make
>> > one column to stay on the screen all the time even if a user scrolls
>> > horizontally to the other side of the DataView. Has anybody tried that?
>> > Any ideas where to start?
>> >
>> > Cheers,
>> > Dariusz
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Floating-Column-tf4881169.html#a13971775
>>
>> 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
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Floating-Column-tf4881169.html#a13976919
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: Floating Column

Posted by Matej Knopp <ma...@gmail.com>.
On Nov 27, 2007 3:23 PM, Alex Objelean <al...@isdc.ro> wrote:
>
> It is up to you how to style the markup. A little of CSS can do all you need.
little CSS? for a floating column that says on screen while other
scroll? Heh, I doubt it :)
At least if you want to work it across different browsers.

-Matej
>
> Alex
>
>
>
> dariusz.holda wrote:
> >
> > Hi,
> > Is it possible in Wicket to do a floating column? I have a DataView that
> > has so many columns that it expands over one screen. I would like to make
> > one column to stay on the screen all the time even if a user scrolls
> > horizontally to the other side of the DataView. Has anybody tried that?
> > Any ideas where to start?
> >
> > Cheers,
> > Dariusz
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Floating-Column-tf4881169.html#a13971775
>
> 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
>
>

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


Re: Floating Column

Posted by Alex Objelean <al...@isdc.ro>.
It is up to you how to style the markup. A little of CSS can do all you need. 

Alex



dariusz.holda wrote:
> 
> Hi,
> Is it possible in Wicket to do a floating column? I have a DataView that
> has so many columns that it expands over one screen. I would like to make
> one column to stay on the screen all the time even if a user scrolls
> horizontally to the other side of the DataView. Has anybody tried that?
> Any ideas where to start?
> 
> Cheers,
> Dariusz
> 
> 

-- 
View this message in context: http://www.nabble.com/Floating-Column-tf4881169.html#a13971775
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