簡體   English   中英

如何使用extjs中的combo itemId在控制器中獲取所選值

[英]How to get the selected value in the controller using combo itemId in extjs

任何人都可以告訴我如何使用extjs中的combo itemId在控制器中獲取所選值?

我這樣試過:

Ext.getCmp('itemId').getValue(); //this is not working

謝謝

一定要閱讀文檔。 getCmp() id查找組件。 如果要按itemId查找組件,請使用ComponentQuerygetComponent()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM