Initiate / update cells by javascript

Hello,

Is there a way to initiate / update a specific cell with javascript ?

for example, i would like initiate cell B2 when the user click on a form button

CELL B2 = Black Font, Yellow Background, “ABC” value

Thanks for your answer.

JC

Hi,
we don’t provide ability to edit cell by javascript.
We provide php api, which may be used at server side (it’s not a client side, but it may be useful for you too):
docs.dhtmlx.com/doku.php?id=dhtm … :reference

I’ve finally found out how initiate / update cell with javascript :

dhx_sh.grid.cells(2,2).setValue(123456);

It’s not saved in the database but it’s OK for me.

JC

Erratum : modifications are saved in the database