开发者

Accept Field Value when Form is submitted with Dojo

开发者 https://www.devze.com 2023-01-22 20:48 出处:网络
Small but boring issue: We have an Form field inside an DojoX Grid (1.2). If the user changes the value inside this field, and is hitting the \"Submit\" Button without clicking somewhere else the new

Small but boring issue:

We have an Form field inside an DojoX Grid (1.2). If the user changes the value inside this field, and is hitting the "Submit" Button without clicking somewhere else the new value is ignored.

Is there any way to "accept" all Values entered inside the field, when hitting submit开发者_StackOverflow? Or something like "onMouseOut" Accept value?


An colleague has found an solution:

grid.edit.apply();

before submit..

0

精彩评论

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