change in grid.save function?

  1. #1

    change in grid.save function?

    has there been a change in the way the store data is passed to the code behind when using grid.save()? because when i'am using coolite version 0.80, the newly added row passes a reader ID value to the code behind in the Store1_BeforeStoreChanged method, but if i use coolite version 0.82, the reader ID of newly added grid rows (and most likely all values not expilicitly set on the newly added row) are not even included in the XML data which is passed to the onstoredchanged function.
  2. #2

    RE: change in grid.save function?

    Hi,

    Please set for the Store
    SkipIdForNewRecords="false"
  3. #3

    RE: change in grid.save function?

    ok, so am i correct in my interpretation that when this is set on the store... when i do xml.GetElementsByTagName("Created"), the "id" column still gets included on the xml data?,,, because i have seen that all data is still included on the json data passed to the server side but the ID is not getting included on the xml data anymore after doing xml.GetElementsByTagName("Created") and the value that you stated on the previous post is not set on the store...
  4. #4

    RE: change in grid.save function?

    Hi,

    By default the ids for new records are not submitted because in mostly cases the autogenerated ids are not used and ignores during insert to the DB.


    If you set
    SkipIdForNewRecords="false"

    then id field will be included to the serialized data and submitted to the server
  5. #5

    RE: change in grid.save function?

    the ID which is refered here is the store's readerID right?

Similar Threads

  1. Replies: 1
    Last Post: Jan 25, 2012, 8:17 AM
  2. Replies: 1
    Last Post: Jul 27, 2011, 10:19 AM
  3. [CLOSED] Change EventEditWindow: Remove save button and edit link
    By ddslogistics in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 28, 2011, 3:16 PM
  4. Replies: 1
    Last Post: Dec 21, 2010, 8:49 AM
  5. Force save on store even when no change?
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Nov 24, 2010, 9:30 AM

Posting Permissions