[CLOSED] RowExpander bug and question

  1. #1

    [CLOSED] RowExpander bug and question

    Hi All,

    1)Bug on page:
    https://examples2.ext.net/#/Associat...asMany/Simple/

    make SingleExpand="true" to get the bug.

    2) How to hide/rid off the row expander for records where there are no 'Products'?
    Grid: "Users with RowExpander"

    Thank you.
    Last edited by Daniil; Jul 07, 2014 at 9:19 AM. Reason: [CLOSED]
  2. #2
    Hi @rbtceo,

    Quote Originally Posted by rbtceo View Post
    1)Bug on page:
    https://examples2.ext.net/#/Associat...asMany/Simple/

    make SingleExpand="true" to get the bug.
    Please change
    <AfterRender Handler="this.bindStore(this.record.products());" />
    to
    <ViewReady Handler="this.bindStore(this.record.products());" Delay="1" />
    Quote Originally Posted by rbtceo View Post
    2) How to hide/rid off the row expander for records where there are no 'Products'?
    Grid: "Users with RowExpander"
    Please return false from a RowExpander's Renderer:
    <Renderer Handler="return record.products().getCount() !== 0;" />
  3. #3
    Thank you.

    1 is still a bug:
    we always see user1's products if SingleExpand is "true"

    Click image for larger version. 

Name:	re.jpg 
Views:	164 
Size:	34.3 KB 
ID:	13331
    Last edited by rbtceo; Jul 06, 2014 at 11:25 PM.
  4. #4
    Yes, you probably should re-bind a Store to the inner GridPanel on each row expand.
  5. #5
    Thank you

    The thread can be closed.

Similar Threads

  1. [OPEN] [#236] [2.2] Bug on RowExpander
    By Periscope in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: May 09, 2013, 5:18 AM
  2. GridPanel RowExpander
    By idelacruz in forum 2.x Help
    Replies: 3
    Last Post: Mar 03, 2013, 5:29 PM
  3. RowExpander
    By mmiocev in forum 1.x Help
    Replies: 0
    Last Post: Apr 06, 2009, 12:56 PM
  4. GridPanel RowExpander
    By Ben in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 20, 2009, 12:02 PM
  5. [FIXED] [V0.7.0] RowExpander Bug
    By Timothy in forum Bugs
    Replies: 2
    Last Post: Oct 13, 2008, 2:25 PM

Tags for this Thread

Posting Permissions