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.
ツリー リストの最初の項目がデフォルトで選択されるようにしたいと考えています。私はextjs 6に取り組んでいます。どんな助けでも大歓迎です。
これを試して:
listeners: { element: 'element', painted: function (treelistEl) { var treelist = treelistEl.component; treelist.setSelection(treelist.getStore().getRoot().firstChild); } }