1. #1
    Sencha User cyChop's Avatar
    Join Date
    Jun 2010
    Location
    Metz, France
    Posts
    59
    Vote Rating
    0
    cyChop is on a distinguished road

      0  

    Question [Question] RowExpander on some lines only

    [Question] RowExpander on some lines only


    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

  2. #2
    Sencha User cyChop's Avatar
    Join Date
    Jun 2010
    Location
    Metz, France
    Posts
    59
    Vote Rating
    0
    cyChop is on a distinguished road

      0  

    Default


    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!

Similar Threads

  1. Question about RowExpander and buttons
    By cupakob in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 24 Aug 2010, 6:02 AM
  2. Ext.ux.grid.RowExpander question
    By Zolcsi in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 2 Sep 2009, 7:55 AM
  3. Question About Grid Lines
    By UGA_Zimma in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 8 Jul 2009, 7:34 AM
  4. [SOLVED] XTemplate / RowExpander Question
    By chalu in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 13 Mar 2009, 8:39 AM
  5. Simple rowexpander question...
    By pokerking400 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 8 Sep 2008, 5:44 AM