Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rohanshiv

Pages: [1]
1
Hi,

I get "undefined is not an object (evaluating 'rowData.pq_cellcls.Fees = "pink"')" when I put the class assignment in a try catch block. I am using JSON data by remotely getting it from a MySQL server if that matters. I believe rowData.pq_cellcls is undefined leading to this error. Does this need to be assigned somewhere previously that I am missing?

2
Help for ParamQuery Grid (free version) / Help with Conditional Formatting
« on: September 12, 2020, 08:55:40 am »
In the demo https://paramquery.com/demos/render_cells, rowData[4] accesses the change and rowData.pq_cellcls[dataIndx] is used to set the class to the cell. For JSON data, I am able to access my data using rowData["Fees"] and rowData.Fees but am slightly confused on how to change the class of the cell using the rowData array. I have tried rowData.Fees.pq_cellcls ="pink"; and rowData.pq_cellcls.Fees = "pink"; which do not work . I have created css code using the example for pink. This is a very powerful grid and I am considering the pro version if I can get this to work.

Pages: [1]