开发者

Set value to edit grid in Extjs

开发者 https://www.devze.com 2023-03-08 06:21 出处:网络
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 v

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

精彩评论

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