How to have event listener on particular datatable cell?

Hi ,

I have a datatable with onBeforeEditStart event.
On top of that , I want if any cell under column ‘Color’ is clicked, a separate click event function to be called. That function will check if user == “specific_user” then only editing will be allowed for that particular cell under ‘Color’ , otherwise not.

For the rest of the row , ‘Phone’ and ‘City’ column editing will always be allowed or may be later I can put some control on them as well.

But no matter irrespective of the edit action on ‘Phone’ and ‘City’, the ‘Color’ column should have a specific permission.

Snippet : https://snippet.webix.com/4iy09mvm

Is this possible ?

Thanks.

you can check current column via id.column and return false if not permitted.
https://snippet.webix.com/wba6pd8m

Thanks, it worked.