开发者

Set value to edit grid in Extjs

I have one edit grid panel where i have all the records.开发者_开发技巧 I took 2 textfields on the same form. I want to set quantity value directly to the record whose id will match to the textfield value.

Any suggestion.


This should more or less work.

var i = someTxtField.value();
editGrid.getStore().data.items[i]['somevalue'] = "fooBar";
editGrid.doLayout();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜