Hello,
I have a problem with the cubeGrid : the hilight doesn't work.
first I declare myHilite :
I set it to my cubeGrid :
Now I try to use it on 2 case :
For hilite when i go out from a cell :
or for color a facet :
For the first I get an error : " Exception caught: (ReferenceError) : cellObj is not define" But the listGridSelect doesn't look null.
For the second no change are done on the datagrid.
Do I made a mistake or it's a bug on cubeGrid?
I enclose the whole test case, if you want to reproduce it.
Test made on the last chromium with smartgwt power edition from the 3.1p_2013-01-03
Thanks by advance.
I have a problem with the cubeGrid : the hilight doesn't work.
first I declare myHilite :
Code:
private static Hilite[] hilites = new Hilite[]{
new Hilite() {
{
setTextColor("#FF0000");
setCssText("color:#FF0000");
setId("myHilite");
}
}}
Code:
cubeGrid.setHilites(hilites);
For hilite when i go out from a cell :
Code:
cubeGrid.addEditorExitHandler(new EditorExitHandler() {
@Override
public void onEditorExit(EditorExitEvent event) {
ListGridRecord listGridSelect = cubeGrid.getCellRecord(event.getRowNum(),
event.getColNum());
SC.logWarn("listGridSelect != null " + (listGridSelect != null));
cubeGrid.hiliteCell(event.getRowNum(), event.getColNum(), "myHilite");
// cubeGrid.refreshCell(event.getRowNum(), event.getColNum());
}
});
Code:
cubeGrid.hiliteFacetValue("month", "February", "myHilite");
For the second no change are done on the datagrid.
Do I made a mistake or it's a bug on cubeGrid?
I enclose the whole test case, if you want to reproduce it.
Test made on the last chromium with smartgwt power edition from the 3.1p_2013-01-03
Thanks by advance.
Comment