[CLOSED] How to update specific column/field values of store from server side

  1. #1

    [CLOSED] How to update specific column/field values of store from server side

    Hi,

    I am trying to update specific column/field value of store from server side using following code but its not updating can you please assist where i m doing mistake or what is the way to update specific column/field value of store from code behind ?

     
    var tempRec = store.GetAt(4);
    tempRec.BeginEdit();
    tempRec.Set("PRICE_TYPE_DESC", "New Price Type Desc");
    tempRec.EndEdit();
    tempRec.Commit();
    store.LoadData(tempRec);
    Last edited by Daniil; Feb 11, 2014 at 3:07 PM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    A ModelProxy's Set call should be enough. Please try to remove:
    store.LoadData(tempRec);
    Also I don't think the BeginEdit and EndEdit calls make sense for a single Set call.

    So, this should work.
    store.GetAt(4).Set("PRICE_TYPE_DESC", "New Price Type Desc");
    If it doesn't, please provide a test case.

Similar Threads

  1. [CLOSED] Update GridFilters ListFilter Store Server-Side
    By jwhitmire36 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 23, 2013, 2:44 PM
  2. Replies: 0
    Last Post: Feb 28, 2012, 2:15 PM
  3. [CLOSED] Find Combobox store caller and Server-side values.
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: May 04, 2011, 3:42 PM
  4. Replies: 2
    Last Post: Nov 26, 2010, 6:30 PM
  5. Update Store on Server Side
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Jan 14, 2009, 5:59 PM

Tags for this Thread

Posting Permissions