Dynamically make cell Readonly or editable cell

How can I make a particular cell readonly or editable through js ?

You can use onBeforeEditStart event of a datatable. Returning false from event handler will block a edit operation.

Thanks for the reply. Can you pls give an example.
Basically I want to enable edit on a cell of the specific row once I add some value to another cell of the same row.

Please, check the snippet for an example http://webix.com/snippet/90e303ba