Results 1 to 3 of 3

Thread: How to remove a selected record from nested selectfiled, loading same store?

  1. #1
    Sencha User
    Join Date
    Nov 2013
    Posts
    49
    Answers
    1

    Default Answered: How to remove a selected record from nested selectfiled, loading same store?

    Hi,
    I have 2 slectfields where i need to load data from same store.

    But the value which i have selected in first "selectfiled", it should not display in second selectfiled options. please Suggest me how to handle.


    Thanks.

  2. This wouldn't be possible if you're only allowed to use a single store. Using two stores, it can be set up as shown in the fiddle below. You might be able to make some modifications so that only one load of the data is made to a single store, and you then transfer records between the two stores as needed.

    Thanks,
    Brian


  3. #2
    Sencha Premium User lumberjack's Avatar
    Join Date
    Nov 2014
    Location
    Kansas
    Posts
    781
    Answers
    102

    Default

    This wouldn't be possible if you're only allowed to use a single store. Using two stores, it can be set up as shown in the fiddle below. You might be able to make some modifications so that only one load of the data is made to a single store, and you then transfer records between the two stores as needed.

    Thanks,
    Brian


  4. #3
    Sencha User
    Join Date
    Nov 2013
    Posts
    49
    Answers
    1

    Default Thankyou brian.wendt, It's solved my problem.

    Cheers

Posting Permissions

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