DHTMLX Docs & Samples Explorer

getAttribute(name)

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

checks whether the specified cell has a certain attribute

  • name - (string) the attribute name
mygrid.cells("row1",1).setAttribute('invalid', true); 
...
mygrid.cells("row1",1).getAttribute('invalid'); // -> true

See also: setAttribute