А как настраивать и сохранять состояния с использованием определенного имени стиля (myStyle), например:
- myStyle
- myStyleDark
- myStyleOver
- myStyleOverDark
- myStyleSelected
- myStyleSelectedDark
- myStyleSelectedOver
- myStyleSelectedOverDark
- myStyleDisabled
myStyle1024 * Я пытаюсь использовать @Override функции getCellStyle для возврата "myStyleA" или "myStyleB", которые я хочу сохранить с суффиксами динамики: "Dark", "Over", "Selected", ...
Идея?...
http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/grid/ListGrid.html
The state of the record is indicated by adding a suffix to the base style.
There are four independent boolean states, which are combined in the order given:
"Disabled" : whether the cell is disabled; enable by setting the "enabled" flag on record returned by getCellRecord
"Selected" : whether cell is selected; enable by passing a Selection object as "selection"
"Over" : mouse is over this cell; enable with showRollovers
"Dark" : alternating color bands; enable with alternateRowStyles