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.
Smart GWT バージョン 4 を使用しています。レコードのクリック アクションで選択したレコードのテキストの色を変更したいと考えています。「setHilites」メソッドなどを使用してそれを行う方法が見つかりません。どうすればこれを達成できますか?
BaseStyle の方法で行くと、このようなものになります。
@Override protected String getBaseStyle(ListGridRecord record, int rowNum, int colNum){ if (listGrid.getSelectedRecord() == record){ return "custom-color-CSS"; } return super.getBaseStyle(record, rowNum, colNum); }
}