[CLOSED] Way to tell store to reaload data but only if circumstances are met

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Way to tell store to reaload data but only if circumstances are met

    Hi,

    like in Title is there any way to do this?

    e.g.
    My situation is like this I got combobox with extra button near to it. combobox has store which is loaded remotely. When I click this button I want to get a window with form to add some new item type of elements loaded in store(that I know how to do with iframe). And in same moment I want to tell store that next time user click on trigger(default one) store should reload it self.

    Is there any possibility to do that?;>

    Thanks,
    ViDom
    Last edited by Daniil; Dec 17, 2012 at 12:12 PM. Reason: [CLOSED]
  2. #2
    Hi @ViDom,

    Please use:
    delete ComboBox1.lastQuery;
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @ViDom,

    Please use:
    delete ComboBox1.lastQuery;
    Thanks @Daniil for fast response:)
    but where server side or client side?
    u mean:
    ComboBox1.AllQuery.Remove(combo.AllQuery.Count() - 1);
  4. #4
    I posted JavaScript.

    This action should be done client side.
  5. #5
    Quote Originally Posted by Daniil View Post
    I posted JavaScript.

    This action should be done client side.
    Ok. It's work like i wanted to :)

    I have one more problem can I make selected Item changed automatically to new added item?
  6. #6
    Please clarify when do you need it?

Similar Threads

  1. Replies: 0
    Last Post: Apr 22, 2012, 9:39 AM
  2. Replies: 1
    Last Post: Mar 08, 2012, 2:52 PM
  3. Replies: 5
    Last Post: May 17, 2011, 9:10 AM
  4. Replies: 5
    Last Post: Nov 26, 2010, 5:39 PM
  5. [CLOSED] Data Store deriving invalid data variable name
    By SFritsche in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 15, 2009, 12:31 PM

Tags for this Thread

Posting Permissions