Author Topic: Is there an equivalent for rowInit for after the row has rendered?  (Read 199 times)

jplevene

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 99
    • View Profile
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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6260
    • View Profile
Re: Is there an equivalent for rowInit for after the row has rendered?
« Reply #1 on: April 30, 2024, 11:27:27 pm »

jplevene

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 99
    • View Profile
Re: Is there an equivalent for rowInit for after the row has rendered?
« Reply #2 on: May 01, 2024, 04:32:47 pm »
That is for a column, not a row.  Is there a rowPostRender?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6260
    • View Profile
Re: Is there an equivalent for rowInit for after the row has rendered?
« Reply #3 on: May 01, 2024, 07:24:32 pm »
There is no equivalent post Render for the row.

jplevene

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 99
    • View Profile
Re: Is there an equivalent for rowInit for after the row has rendered?
« Reply #4 on: May 01, 2024, 07:39:27 pm »
Please can you add this for the next version.