DHTMLX Docs & Samples Explorer

getId()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxlayout.js

returns cell's id

    var id = dhxLayout.items[0].getId(); // will return "a"; [0] is item's index
    // or
    var ids = new Array();
    dhxLayout.forEachItem(function(item){
        ids[ids.length] = item.getId();
    });
    // ids will contain ["a","b","c"...] depending on pattern