change font of edited cells

Hi,

I need to mark the cells changed by a user, by changing font style to bold, or the font color to red, or the cell background color to an specific color. How can I do it? The AsyncEditDone method (I use this to detect that a cell value changed) don't allow me to change any property of Cell.
I tried to implement changes in GetCellProp method, but this works only when I load the form.

Could you please help me?

Best regards,

                   Venancio Lasquibar

Hi,


You can use the ClientEvent.EditDone property to execute custom JavaScript code when editing ends.

Example:
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
  TIWAdvWebGrid1.ClientEvents.EditDone.Add('el = document.getElementById("G0c" + (c+1) + "r" + (r+1));');
  TIWAdvWebGrid1.ClientEvents.EditDone.Add('el.style.backgroundColor = "red";');
end;