setCellTextStyle XML command problem

i use XML file to configer grid i have problem with method setCellTextStyle , why this line doent work:

11"color:red;border:1px solid gray;"

thanks in advance

setCellTextStyle() method should be called after the required cell is loaded to the grid.
So you need to call it not from the xml but in the script part in the callback function of the load() method.

You may set the style of the cell directly in your xml using the following solution:
data