BUG - Edit GridPanel UpdateCell Method bug

  1. #1

    BUG - Edit GridPanel UpdateCell Method bug

    Hi,

    it seems there is a bug on the following method
    GridPanel.UpdateCell

    I'm using the following istructions
    this.extGridPanel.UpdateCell(1, "Name", "100");
    and I get the following javascript code autogenerated:
    var task=new Ext.util.DelayedTask(function(o,result,response){if(result.script&&result.script.length>0){(function(o,result,response){eval(result.script);}).call(window,o,result,response);}
    The variable result is equals to:
    extGridPanel.store.getAt(1).set("Name","100")extGridPanel.on("afteredit",afterEdit);
    It seems there is a missing ";" after the istruction:
    extGridPanel.store.getAt(1).set("Name","100")
    Could you have a look please?
    Thanks
    Last edited by Daniil; Sep 19, 2011 at 4:26 PM. Reason: Please use [CODE] tags for all code
  2. #2
    Hi,

    It's already fixed in Ext.Net 1.2.

    Please upgrade to 1.2.

    Or use this code:
    Store1.UpdateRecordField(rowIndex, dataIndex, value);
    P.S. Please report bugs on the Bugs forum.
  3. #3
    Hi Daniil,

    My apologies for the wrong Forum, I'm new in Ext.NET.

    Thanks for the support, it worked.

    Antonio

Similar Threads

  1. gridpanel edit some problems
    By ShengXQ in forum 1.x Help
    Replies: 1
    Last Post: Jul 17, 2012, 5:57 PM
  2. GridPanel conditional edit
    By sharif in forum 1.x Help
    Replies: 1
    Last Post: Feb 20, 2010, 4:37 PM
  3. Edit GridPanel
    By Maia in forum 1.x Help
    Replies: 4
    Last Post: May 04, 2009, 4:46 PM
  4. Edit/Delete GridPanel
    By Maia in forum 1.x Help
    Replies: 1
    Last Post: Apr 27, 2009, 11:07 PM
  5. ContextMenu - GridPanel Edit
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Dec 30, 2008, 3:47 PM

Posting Permissions