1. #1
    Ext User
    Join Date
    Oct 2008
    Posts
    9
    Vote Rating
    0
    micahknox is on a distinguished road

      0  

    Default [2.??] Dataview select() Method

    [2.??] Dataview select() Method


    It appears the 2nd parameter [keepExisting] passed to the function select() for a Dataview does not actually work if you pass in a false.

    Thanks.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    'does not actually work' is not a very good problem description.

    Please provide all relevant information as described here.

  3. #3
    Ext User
    Join Date
    Oct 2008
    Posts
    9
    Vote Rating
    0
    micahknox is on a distinguished road

      0  

    Default Better Description

    Better Description


    Based on the API documentation, I would expect that if I pass in a 'false' for the [keepExisting] option, any currently selected records would then be deselected leaving only the one I am selecting by calling the select() method. Therefore if I use the getSelectedRecords() method of a Dataview object, I should only see one record in the returned array because I am always setting [keepExisting] to false.

    Does this clarify the issue?

    Thanks.

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    That is how it works. Can you post a test case showing where it doesn't behave in that way? Thanks.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 2

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