I didnt find how to answer the firts post that i made, but here we go:
I will put some code here, is simple.
My JSP page:
…
<fmt:message key=“global.label.nome”/> | <fmt:message key=“global.label.unidade”/> | <fmt:message key=“global.label.funcao”/> | <fmt:message key=“global.label.produto”/> |
${list.nome} |
…
my js file:
function configGrid(tableName) {
tableName.setSkin(“xp”);
tableName.enableEditTabOnly(true);
tableName.setMultiselect(true);
tableName.enableMultiline(true);
tableName.setImagePath("…/scripts/dhtmlxgrid/imgs/");
tableName.enableTooltips(“true,true,true,true,true”);
tableName.selectRow(0);
tableName.attachHeader("#text_filter");
tableName.enableAlterCss(“uneven”,"");
tableName.enableRowsHover(true,‘grid_hover’)
//tableName.setSizes();
So, the enableAlterCss just works when i click on the header (sorting the rows)…