[CLOSED] Store.remove(record) and Store.reload()

  1. #1

    [CLOSED] Store.remove(record) and Store.reload()

    Hi,
    in my store a remove a record trough a DirectMethod and then i call store.remove().
    (application request)

    The problem is that every time i try to reload the store a i get a wrning message.
    I don't want to disable the message and i can not set the pruneModifiedRecords to true cause i will use paging.

    Is there a way to notify the store that the operation on that single record is safe?
    Last edited by Daniil; Nov 09, 2010 at 10:09 AM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by capecod View Post
    Hi,
    in my store a remove a record trough a DirectMethod and then i call store.remove().
    (application request)

    The problem is that every time i try to reload the store a i get a wrning message.
    I don't want to disable the message and i can not set the pruneModifiedRecords to true cause i will use paging.

    Is there a way to notify the store that the operation on that single record is safe?
    Hi capecod,

    There is no option like this.

    Maybe something like the following thing?

    Example
    GridPanel1.getStore().warningOnDirty = false;
    GridPanel1.getStore().reload();
    GridPanel1.getStore().warningOnDirty = true;
  3. #3
    OK,
    that means that maybe my design has some flaws...

    I will double check. Thanks ;)

Similar Threads

  1. Replies: 1
    Last Post: Dec 22, 2011, 6:17 AM
  2. Replies: 4
    Last Post: Mar 26, 2011, 7:06 PM
  3. [CLOSED] Store.remove Changes Store Sirty Flag
    By bethc in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 18, 2011, 9:04 PM
  4. [CLOSED] Store Load-handler cant reload child store
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 04, 2011, 7:56 AM
  5. [CLOSED] Adding a new Store Record - Not a Record object
    By Steve in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 15, 2009, 7:40 AM

Posting Permissions