ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: jplevene on April 30, 2024, 10:56:15 pm

Title: Is there an equivalent for rowInit for after the row has rendered?
Post by: jplevene on April 30, 2024, 10:56:15 pm
I am doing column rendering that adds some elements in certain columns.  A rowComplete or rowRendered is what I need as after I render a row, I need to do some JS and formatting on the elements in the row (can't do it in column.render as there are lookups between the columns).

Currently I am using the following rowInit option:

Code: [Select]
rowInit: function(ui) {
setTimeout(function(){
var row = that.picklist_grid.pqGrid("getRow", {rowIndxPage:ui.rowIndxPage});
console.log(row);
}, 30);
},

The above works, but it is not clean.
Title: Re: Is there an equivalent for rowInit for after the row has rendered?
Post by: paramvir on April 30, 2024, 11:27:27 pm
Please check column.postRender

https://paramquery.com/pro/demos/charts_inline
Title: Re: Is there an equivalent for rowInit for after the row has rendered?
Post by: jplevene on May 01, 2024, 04:32:47 pm
That is for a column, not a row.  Is there a rowPostRender?
Title: Re: Is there an equivalent for rowInit for after the row has rendered?
Post by: paramvir on May 01, 2024, 07:24:32 pm
There is no equivalent post Render for the row.
Title: Re: Is there an equivalent for rowInit for after the row has rendered?
Post by: jplevene on May 01, 2024, 07:39:27 pm
Please can you add this for the next version.