I want to create a grid filled in with values from a query


I want to create a grid filled in with values from a
query (SQL Server Store Procedure) and while filling the cells with data, lock
some cells or even change it�s background color according the data value.


For
example the query returns some One and Zero (true / false) values. How can I
change the background of the cells with zero�s to grey and disable them? Is
this possible with your dhtmlxGrid?<o:p></o:p>


There is no client side logic to
change cell style according to value, but it can be done on server style. You
can add “style” or “class” attributes to “row”
tags in XML - to set row related css. Or “class” attribute to
“cell” tags in XML to set css on specified cells.


Also you can set “locked” attribute of
“row” tag to switch row to read-only mode.<o:p></o:p>