Hi, Im using
‘gridweb.CellModifiedOnAjax = cesh’ and
‘CellEventHandler cesh = new CellEventHandler()’
to change the back_color of a cell in gridweb.
However, the result seems not good as I expected.
GridCell cell = inputCells.get(cellName);
GridTableItemStyle style = cell.getStyle();
style.set_BackColor(com.aspose.gridweb.Color.getRed());
cell.setStyle(style);
The result will display as cell ‘E5’ first (such as the attachment 'back_color_issue.PNG ’ ). It seems fine but after I clicked anywhere in gridweb,
the color on cell ‘E5’ will be changed as ‘E4’.
A blank space will replace the red color.
And I trace the css in browser (Please check 'back_color_issue_2.PNG '). The in that cell is changed to the color which is I wanted to do so but the style of the td is changed to
‘style="background-color: rgba(0, 0, 0, 0); color: rgb(0, 0, 0);’ automatically.
Can you give my any help of that? Thank you very much.
Since I couldn’t attach photos to your forum. Is there any way to give you my screenshots?
(The forum told me that because Im new user.)