Required library edition:
Required library file: dhtmlxgrid.js
gets the text color of the cell set by method setTextColor.
If setTextColor wasn't called for the cell the method returns ”#000000”.
Returns: string
//colors the cell in red in 3 different ways mygrid.cells("row1",1).setTextColor('red'); mygrid.cells("row1",2).setTextColor('rgb(255,0,0)'); mygrid.cells("row1",3).setTextColor('#ff0000'); ... mygrid.cells("row1",1).getTextColor(); // -> "red" mygrid.cells("row1",2).getTextColor(); // -> "rgb(255,0,0)" mygrid.cells("row1",3).getTextColor(); // -> "rgb(255,0,0)"
See also: setTextColor