[英]Does Isomorphic SmartClient have a callback that fires when a user selects a pick list record on a form text item?
I am developing a web application using Isomorphic SmartClient. 我正在使用同构SmartClient开发Web应用程序。 I am searching for a callback fired when the user selects a pick list record from a DynamicForm TextItem pick list, but I am unable to find one.
我正在搜索当用户从DynamicForm TextItem选择列表中选择一个选择列表记录时触发的回调,但是找不到。 Does a callback for this event exist in SmartClient?
SmartClient中是否存在此事件的回调? If not, is there a good way to tell when the user has selected a pick list record?
如果不是,是否有一个很好的方法来告诉用户何时选择了选择列表记录?
Since you are talking about ComboBoxItem probably(and even if it is SelectItem it is the same) and they extends TextItem, which extends FormItem. 由于您可能正在谈论ComboBoxItem(即使它是SelectItem,它也是相同的),并且它们扩展了TextItem,后者扩展了FormItem。 FormItem and it's subclasses do have changed method - http://www.smartclient.com/docs/10.0/a/b/c/go.html#method..FormItem.changed But this one will fire, after change is done, in case you need to handle control on the time of change - use change method (and you can even stop the change by returning false) - http://www.smartclient.com/docs/10.0/a/b/c/go.html#method..FormItem.change
FormItem中,它的子类都已经改变了方法- http://www.smartclient.com/docs/10.0/a/b/c/go.html#method..FormItem.changed但是这样一来会火,变更完成后,如果您需要控制更改时间-使用更改方法(甚至可以通过返回false来停止更改) -http://www.smartclient.com/docs/10.0/a/b/c/go .html#method..FormItem.change
Good luck 祝好运
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.