How to change cell value of the grid?


I want to change a cell value by js function.For example,the current cell value of the grid is ‘myvalue’ on the i click a button,and i want the cell value turn into “sample value”.
How to write the js function.

Something like

$$('grid').item(id).someProperty = "New value"; $$('grid').refresh(id)


  • id - id of row in question
  • someProperty - property which is mapped to the column in question