I have to change the property TYPE for the cells under the

Hello! I am using a dhtmlxgrid and a have to build a matrix with elements above the first diagonal editable and the elements under diagonal read only. I have to change the property TYPE  for the cells under the diagonal in read only but I don’t know how. How can I do this?
T.I.A.

Grid support next command to change type dynamically
    grid.setCellExcellType

so next code will work in your case
   
    for (var i=0; i<grid.getRowsNum(); i++)
       grid.setCellExcellType(grid.getRowId(i),i,“ro”)

Of course, such code need to be executed only after data loaded in grid