jQWidgets Forums

jQuery UI Widgets Forums Grid After cellrenderer event?

This topic contains 3 replies, has 3 voices, and was last updated by  Dimitar 9 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • After cellrenderer event? #61821

    Windmill
    Participant

    I want to attach an event to the HTML generated by the column’s cellrenderer option. My understanding is that I can’t attach any event until the cellrenderer as returned the HTML and actually appended it to the page.

    I see that there is rendered, but this after the column is rendered (not the cell).

    Is there a way in jqxGrid (columns) to execute some logic after the cellrenderer has been executed and changed the actual HTML of the cell ?

    After cellrenderer event? #61846

    Dimitar
    Participant

    Hello Windmill,

    There is no such event in jqxGrid’s API. However, here is a suggestion that might be helpful to you: http://jsfiddle.net/Dimitar_jQWidgets/u6t90d7o/.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    After cellrenderer event? #81867

    Shankar93
    Participant

    Hi Dimitar,

    I understand all cells in a grid are rendered once again through cellrenderer after any cell is edited or not. Is there any way to identify which is the first cell that is going to be rendered? Or is there any event that triggers once all the cells in the grid are rendered after any update to a cell.?

    After cellrenderer event? #81870

    Dimitar
    Participant

    Hi Shankar93,

    The first cell that is going to be rendered is the first visible cell in the grid (the top-left one). As for an event after all cellsrenderer calls have been made – unfortunately, there is no such feature in jqxGrid’s API.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.