PDA

View Full Version : [Question] RowExpander on some lines only



cyChop
21 Apr 2011, 4:28 AM
Hi all,

I just wondered, since I haven't found a way to do it yet, is there a way to make a RowExpander that will not show on all lines?

I explain myself: we have a grid that show two different types of record. The first type do need a RowExpander to display some additional informations, while if I put a RowExpander on the second type, it will remain empty. Better than empty would be nothing at all...

Any lead for me? Thanks in advance,

cyChop
GXT 2.1

cyChop
22 Apr 2011, 1:09 AM
OK, I've made on step using a conditional XTemplate, that is empty if the value to display in the expander is not set.

Last thing to do to make this perfect would be to get rid of the [+] button when the template is empty. Is that even possible?

Thanks!