getCellExcellType

returns the excell type of the cell in question

string getCellExcellType(string|number rowId,number cellIndex);

Parameters

rowIdstring|numberthe row ID
cellIndexnumberthe cell index

Returns

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.setCellExcellType("row1",1,"txt");
 
// getting the the type of the 2nd cell in the row with the id "row1"
var type = myGrid.setCellExcellType("row1",1); // -> returns "txt"

See also
Change log

added in version 5.1

Back to top