Thank you for the solution! It is good but the issues still remain with jqxGrid (double rendering of cells and rendered callback function called BEFORE the cells are rendered).
I know! Thank you for the answer!