Collapsible list in a GridPanel row

  1. #1

    Collapsible list in a GridPanel row

    I want to display an array of text values in GridPanel row. If the array contains more than 2 items the row must displays 2 items of the array, and other ones must be hidden.

    When I click on the second item then other elements must be displayed, that is to say the row expands to show all items of the array. And vice versa: when I click on the last item then row collapses to show 2 items only.

    The first question is how to increase and decrease the height of the row on the client? Is there any way to show an array of strings in one cell?
  2. #2
    I think you need to use the RowExpander plugin - https://examples1.ext.net/#/GridPane...ic_GridPanels/

    You'll need to hook up the click events on the list items to expand and collapse the row, but that should be possible.
  3. #3
    I need something different. First I need to increase and descrease height of the row on the client. How can I do that?
    Last edited by AlexMaslakov; Sep 13, 2011 at 9:19 AM.
  4. #4
    Does anybody know how to solve that problem?

Similar Threads

  1. [CLOSED] ComboBox with a GridPanel as dropdown list
    By bogc in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Sep 14, 2011, 6:00 PM
  2. [CLOSED] Render property of type List<T> in GridPanel column
    By martin.mosimann in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 08, 2011, 4:16 PM
  3. Replies: 5
    Last Post: Dec 18, 2009, 9:50 AM
  4. fill gridpanel with a list??
    By carlosmupe in forum 1.x Help
    Replies: 2
    Last Post: Dec 15, 2009, 4:03 PM
  5. List Inside Column of GridPanel.
    By grmontero in forum 1.x Help
    Replies: 0
    Last Post: Sep 24, 2009, 11:12 AM

Posting Permissions