Results 1 to 3 of 3

Thread: RowExpander

  1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    194
    Answers
    2

    Default Answered: RowExpander

    Hi,

    I am trying to setup some "lightweight" tabular data inside rowexpander body.
    Using template and overwrite would be lightest I guess, but I do need some mouseover control. I guess next most light solution is to use Ext.view.View. All ok, but now I wonder what would be the best way to destroy it.

    They are created on expandbody event. Because component is rendered into the rowexpander body (renderTo) it is not child of "parent" grid and when grid is destroyed they are not. If I try to add them to the grid component renderTo is ignored as component takes over the layout.

    So, is my only chance to keep my own track of instances and destroy them when "parent" grid does?

    Thank you

  2. My end solution was without using extra dataview's inside rowexpander. I found a way to do it with simple templates and all is well - so far
    Thanks. Didn't know about rowwrap before. As it is private docs don't show it.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,410
    Answers
    716

    Default

    In the rowExpander, did you include the rwowrap feature to get mouse select/hover to work?
    Code:
                features: [{
                    ftype: 'rowwrap' // required to make all selectable / hover; 
                }, {
    In 4.2.1, this works when selecting the row, in 4.2.3, it works with mouse over body as well.

    Quick video:
    http://screencast.com/t/s8aE1vbxwplI
    Last edited by scottmartin; 4 Apr 2014 at 6:08 AM. Reason: added video

  4. #3
    Sencha User
    Join Date
    Feb 2008
    Posts
    194
    Answers
    2

    Default

    My end solution was without using extra dataview's inside rowexpander. I found a way to do it with simple templates and all is well - so far
    Thanks. Didn't know about rowwrap before. As it is private docs don't show it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •