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

Page 1 of 5 123 ... LastLast
  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?
  7. #7
    Quote Originally Posted by Daniil View Post
    Please clarify when do you need it?
    After I close/hide Window in with iframe loadmode. Where I add this new item.
    Last edited by ViDom; Dec 12, 2012 at 12:41 PM.
  8. #8
    Do you add a new item on server side or on client?
  9. #9
    Quote Originally Posted by Daniil View Post
    Do you add a new item on server side or on client?
    on server side using NHibernate to save new item to oracle database. I know I need to reload store and then select item but I'm not so good in Ext Js as you guys
  10. #10
    Please provide us with the Store's configuration. A solution can depend on it.
Page 1 of 5 123 ... LastLast

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