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.
列モデル エディターで Ext.form.Combobox を使用しています。この ColumnModel は EditorGridPanel に配置されます。コンボボックスでアイテムを選択した後、コンボボックスに表示されるテキストは常に、displayField ではなく valueField です。項目を選択した後、EditorGridPanel のコンボボックスに displayField を保持するにはどうすればよいですか? どうもありがとう。
renderer目的のテキストを表示するには、列のメソッドを使用する必要があります。
renderer
renderer: function(val){ // select the display text for val from the combobox's store return display text; }