Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xtype: ボタンとして定義されたボタンがあります。
レコードをクリックしたら、xtype を Splitbutton に変更し、データベースから返されたデータに従ってメニューを追加する必要があります。
これはどのように行うことができますか?
私はもう試した:
Ext.GetCmp(buttonid).xtype = 'splitbutton'
しかし、うまくいきません。