You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ha...@foxt.com on 2009/05/26 14:17:24 UTC

Expandable row in datatable

Hi,

I need som help with how to create an expandable row in a datatable. The 
idea would be to have functionality like an accordion where you click the 
table row and it expands to show more details of the object in the current 
row.
I've seen different examples of solutions and they all seem to use a 
ListView. Is it possible to achieve this using a datatable or am I better 
off switching to a dataview?

Thanks.

Håkan

Re: Expandable row in datatable

Posted by ramlael <gr...@gmail.com>.
Hi Josh,
Please can you send the code by using datatable?.

Thanks in advance.


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560822.html
Sent from the Users forum 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: Expandable row in datatable

Posted by Josh Kamau <jo...@gmail.com>.
Rambabu,

I did it using a datatable . The last column in the table containts the
expanded area. Try to achieve it with html and javascript first. Then you
can use wicket datatable and panels to put the html pieces together.

Josh.

Re: Expandable row in datatable

Posted by ramlael <gr...@gmail.com>.
I need to use Datatable, bcoz need sorting for the columns. 

Regards,
Rambabu

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560606.html
Sent from the Users forum 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: Expandable row in datatable

Posted by Pedro Santos <pe...@gmail.com>.
Hi, I easily achieved it using nested ListView components and one line
of JavaScript:

$('.expandableLine').click(function() { $(this).next().toggle(); });

On Mon, May 30, 2011 at 4:47 AM, ramlael <gr...@gmail.com> wrote:
> Is any one know the solution?.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560106.html
> Sent from the Users forum 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
>
>



-- 
Pedro Henrique Oliveira dos Santos

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


Re: Expandable row in datatable

Posted by ramlael <gr...@gmail.com>.
Is any one know the solution?.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3560106.html
Sent from the Users forum 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: Expandable row in datatable

Posted by ramlael <gr...@gmail.com>.
Hey.. I am also looking for same kind of solution.. is any one have idea
about this problem.

 


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Expandable-row-in-datatable-tp1883838p3555020.html
Sent from the Users forum 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: Expandable row in datatable

Posted by Igor Vaynberg <ig...@gmail.com>.
datatable is meant to work with columns, if you need to manipulate
rows you are probably better off not using it.

-igor

On Tue, May 26, 2009 at 5:17 AM,  <Ha...@foxt.com> wrote:
> Hi,
>
> I need som help with how to create an expandable row in a datatable. The
> idea would be to have functionality like an accordion where you click the
> table row and it expands to show more details of the object in the current
> row.
> I've seen different examples of solutions and they all seem to use a
> ListView. Is it possible to achieve this using a datatable or am I better
> off switching to a dataview?
>
> Thanks.
>
> Håkan

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