change font of edited cells
Lasquibar de la Torre Venancio
Joined: 28 Oct 2018
Topic: change font of edited cells
Posted: 25 May 2019 at 7:19pm
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?
Joined: 18 May 2010
|Post Options Quote Reply Posted: 27 May 2019 at 9:50am|
procedure TIWForm1.IWAppFormCreate(Sender: TObject);
TIWAdvWebGrid1.ClientEvents.EditDone.Add('el = document.getElementById("G0c" + (c+1) + "r" + (r+1));');
TIWAdvWebGrid1.ClientEvents.EditDone.Add('el.style.backgroundColor = "red";');
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum