[CLOSED] forcing a gridpanel save

  1. #1

    [CLOSED] forcing a gridpanel save

    Is it possible to force a gridPanel.save() even if nothing is changed in the grid? What i mean is that i have following:
    • a store which has its OnBeforeStoreChanged set to a server handler that saves the grid
    • a Grid bound to that store whith a button having a listener that calls gridpanel.save().

    As far as I know the save() method fires BeforeStoreChanged event where store's "modified", "deleted" and "added" entries are submitted to the server. Now I have a case that even if there is nothing in "modified" list, i.e. nothing has changed, I still want that everything in the list should be somehow manipulated and all the entries should belong to the modified list so that in the BeforeStoreChanged event these entries can again be saved.
    Last edited by Daniil; Dec 08, 2011 at 12:52 PM. Reason: [CLOSED]
  2. #2

    Well, there is no way to force saving if there is no changes, i.e. nothing to save.

    You could:

    1. Submit a grid's data.

    2. Change required records manually. You could use some additional RecordField to change it when you'd like to force saving.
  3. #3


    yes ofcourse I can submit the grid without using stores's BeforeDataChanged:), I was so focused on working it out this way without looking for alternatives.

    Many Thanks


Similar Threads

  1. [CLOSED] Forcing combobox to remain open after selection
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 30, 2011, 9:38 PM
  2. Replies: 2
    Last Post: Apr 13, 2011, 7:30 AM
  3. [CLOSED] [1.0] Forcing all ext net scripts to load
    By bsnezw in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 14, 2011, 8:54 PM
  4. ComboBox list forcing window to scroll
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Sep 03, 2009, 10:35 AM
  5. how to save a row in gridpanel
    By madhugumma in forum 1.x Help
    Replies: 0
    Last Post: Jul 15, 2009, 8:55 AM

Posting Permissions