Tree table only edit certain level

Hi,
Is there a way to allow editing of only the lowest level on the tree table?
https://snippet.webix.com/sguj0jrm

@tnad0073
try to check if current item is not a branch

  on:{
    onBeforeEditStart: function(cell){
      return !this.isBranch(cell.row);
    }
  }

Also it can be done as

onBeforeEditStart:function(id){
      if (this.getItem(id).$count)
        return false

Here is an example: Code Snippet