Check documentation for the latest version of dhtmlxSuite getCellExcellType DHTMLX Docs

getCellExcellType

returns the excell type of the cell in question

string getCellExcellType(string|number rowId,number cellIndex);
rowIdstring|numberthe row ID
cellIndexnumberthe cell index
stringthe type of excell (the code like "ed", "txt", "ch", etc.)

Available only in PRO Edition

Example

// setting the type "txt" for the 2nd cell in the row with the id "row1"
myGrid.getCellExcellType("row1",1,"txt");
 
// getting the the type of the 2nd cell in the row with the id "row1"
var type = myGrid.getCellExcellType("row1",1); // -> returns "txt"

See also
Change log

added in version 5.1

Back to top