Collapsable table rows

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Collapsable table rows

Gareth Bowen
Hi everyone,

I'm trying to create a table with collapsable rows so a user can click
anywhere on the row to display the rows below, and click again to hide
them again.

I've managed to create a button in each row which sets an instance
value, and then use a bind with relevance only when this instance value
is set. This works fine, however I need to allow users to click anywhere
on the row.

I tried creating a group around the table and setting a DOMFocusIn
event, but it appeared to run before the row was made active, which
meant my index('repeat-id') referred to the previous row.

Thanks in advance,
Gareth




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Collapsable table rows

Alessandro  Vernet
Administrator
Gareth,

An example that we can run the XForms sandbox and that shows the
issues you are talking about would greatly help here.

Alex

On 5/8/06, Gareth Bowen <[hidden email]> wrote:

> Hi everyone,
>
> I'm trying to create a table with collapsable rows so a user can click
> anywhere on the row to display the rows below, and click again to hide
> them again.
>
> I've managed to create a button in each row which sets an instance
> value, and then use a bind with relevance only when this instance value
> is set. This works fine, however I need to allow users to click anywhere
> on the row.
>
> I tried creating a group around the table and setting a DOMFocusIn
> event, but it appeared to run before the row was made active, which
> meant my index('repeat-id') referred to the previous row.
>
> Thanks in advance,
> Gareth
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet