returns HTML element of the item

HTMLElement getItemNode(id id);
ididdata item ID
HTMLElementHTML element of the item


var node = mylist.getItemNode(123);
node.innerHTML = "some text";


Datatable and treetable specificity:

  • the item ID as number - the method returns the HTML element of the first cell in a row with this ID:
  • the item ID as object that contains data item ID and column ID - the method returns the HTML element of a cell with these row and column IDs:
$$("mydatatable").getItemNode({ row: 2, column:"title"});
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web control library and page of datagrid in html5 product.