Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by DhtmlxUser on Jul 11, 2008 13:51
open dhtmlx forum
JSON style property not working on v.1.6

On your document about JSON format:

http://www.dhtmlx.com/docs/products/docsExplorer/index.shtml?node=dhtmlxgrid&type=smpl

Details about used JSON format

Top level object contains a collection of rows, each row has a mandatory data array containing data for all cells.
Each row representing an object may contain additional parameters; they will affect the grid in the same manner as attributes of row tag in case of loading from XML.
{ id:1002,
selected:true, // selected row
style:"color:red;" // assigned style
data:[
"1000",
"Blood and Smoke",
"Stephen King",


it seems like the property style is not working
Answer posted by Support on Jul 14, 2008 02:34
Please use the next js file (dhtmlxgrid_json.js)  in addition to existing code
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3787&ssr=yes&s=json%20patch
This patch will add support of all attributes as well as support for JSON based dynamical loading.