1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    22
    Vote Rating
    0
    deving is on a distinguished road

      0  

    Default Unanswered: Check if row is expanded?

    Unanswered: Check if row is expanded?


    Is there a way to check if the row is expanded before toggling it using the row expander plug in? Or is there a method that just expands it (and does nothing if it's already expanded) or just collapses it (and does nothing if it's already collapsed)?

    Thank you!

  2. #2
    Sencha Premium Member krullj's Avatar
    Join Date
    Sep 2011
    Posts
    34
    Answers
    2
    Vote Rating
    6
    krullj is on a distinguished road

      0  

    Default


    If you look in the rowexpander source, it looks like they check whether or not a row is expanded in the following:
    Code:
    isCollapsed = row.hasCls(me.rowCollapsedCls)
    You can see the rest of it here, in the toggleRow method: http://docs.sencha.com/ext-js/4-2/so...in-RowExpander

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar