ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: noctrona on April 27, 2015, 05:23:06 pm

Title: How to add cell comments when use render
Post by: noctrona on April 27, 2015, 05:23:06 pm
Hi team,

I just check our pro demo found we can add comments for each cell. But I have a column used "render" to generate the cell contents. So is that possible add comments for this?

Code: [Select]
{ title: "Line Item Status", width: 64,align: "center",editable: false,dataIndx: "status", render: goPR }
"goPR" is one js method.


Thank you!
Title: Re: How to add cell comments when use render
Post by: paramvir on April 27, 2015, 06:04:38 pm
Hello noctrona

Yes you can still add comments to the cell.

commentRender is only used to show a small comments icon in the cell which acts as an indicator that the cell has comments, it's not mandatory for comments functionality.
Title: Re: How to add cell comments when use render
Post by: noctrona on April 27, 2015, 07:32:58 pm
Hello noctrona

Yes you can still add comments to the cell.

commentRender is only used to show a small comments icon in the cell which acts as an indicator that the cell has comments, it's not mandatory for comments functionality.

My paramquery version is "2.1.0". Is this version support "pq_cellattr"? I try it but can't see the commends logo on my cell.

And it looks the "attr" is conflict with my jquery...
Title: Re: How to add cell comments when use render
Post by: paramvir on April 27, 2015, 08:43:05 pm
Comments functionality is dependent upon attr method which is available since 2.3.0.

attr use in previous versions would throw an error.