Set some TWebStringgrid cells to be editable

Hi Bruno,

We would like to set some cells at specific locations on WebStringgrid to be editable. Here is what I have tried so far:

I left goEditing as false on WebStringGrid, then I set as following:

td := WebStringGrid1.CellElements[2,1];
td.setAttribute('contenteditable','true');

I also tried td.contenteditable := 'true'

The editing function on the cell is not working quite well. I have to hold my mouse on the cell and after than I can type something into it. Could you give me some advice if there is better way to do it?

thanks,

The event we created for this is WebStringGrid.OnCalEditCell.
Did you try this one?

thanks Bruno. Just tried and it works!