Just after assigning i am trying to change the property of that class, ex: dtable.addCellCss(editor.row, editor.column, "edit_cell_select");
css : .edit_cell_select{ border: 1px solid; border-color: red; }
just after addCellCss i am doing this $(".edit_cell_select").css("border-color","green");
but once it happen the property was not assigned, because just after addCellCss the class still dint exist. How can i apply this property just after addCellCss?
you can try to use
dtable.refresh();
to force immediate repainting
No, it dint work. neither refreshColumns()
code is like
dtable.addCellCss(data.row, data.column, "edit_cell_select"); $(".edit_cell_select").css("border-color", configData.editedCell); dtable.refresh();
tried to put breakpoint at dtable.refresh()
the class was not assigned.
It works for me