-
1. Re: sub table to be opened on rowclick
ilya_shaikovsky Mar 22, 2010 5:19 AM (in response to dejela)You could add conditional rendering to subtable using rendered attribute and show it via ajax. Or just show/hide using css classes if amount of data allows to keep all subtables at client side without performance losses.
-
2. Re: sub table to be opened on rowclick
ilya_shaikovsky Mar 22, 2010 5:21 AM (in response to ilya_shaikovsky)b.t.w. in the future please do not create articles in space for questions creation. I'll remove the http://community.jboss.org/wiki/openatableinsidethetable topic.
-
3. Re: sub table to be opened on rowclick
dejela Mar 22, 2010 5:25 AM (in response to ilya_shaikovsky)ye
the new design makes it hard to understand where to put what.
I also deleted it.
-
4. Re: sub table to be opened on rowclick
dejela Mar 22, 2010 5:31 AM (in response to ilya_shaikovsky)thanks for the help
how do i show it via ajax? i didn't get it..
-
5. Re: sub table to be opened on rowclick
ilya_shaikovsky Mar 22, 2010 5:35 AM (in response to dejela)<r:subTable rendered="#{iterationVar.rowSelected}"> ...
manage the property on click on row or to control you need via ajax.
-
6. Re: sub table to be opened on rowclick
dejela Mar 22, 2010 5:47 AM (in response to ilya_shaikovsky)Hi!
I guess that is will display/ not display all the subtables.
How can I define for a specific sub table to be displayed onRowClick?
Thanks
-
7. Re: sub table to be opened on rowclick
ilya_shaikovsky Mar 22, 2010 6:08 AM (in response to dejela)I guess that is will display/ not display all the subtables.
as you could see I used #{iterationVar.xxx} in EL. I meant the current row object property usage. So it will works for particular subtable.