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.
私はtreeGridextjsを初めて使用します。CreatePanelにExtjs4.1を使用しています。また、ech列に異なるレンダリング関数を使用しています。次に、CSSを選択した行に適用する方法はTreepanel?
treeGrid
Treepanel
選択された生のcssクラスはですx-grid-row-selected。これをオーバーライドできます。
x-grid-row-selected
.x-grid-row-selected { background-color: red; }
レンダラー内で、メタデータを使用してcssクラスを適用できます。
renderer: function( aValue, aMetaData, aRecord ) { aMetaData.tdCls = 'some-of-your-own'; }