jQWidgets Forums

jQuery UI Widgets Forums Grid invoke the cellrenderer function

This topic contains 3 replies, has 3 voices, and was last updated by  Manu Vashishtha 4 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • invoke the cellrenderer function #24960

    assaf.frank123
    Participant

    Hi,

    I update some cell values after the grid was loaded (using setcellvalue)
    and now I must update the image I am displaying in one of the cells – this is displayed by the cellrenderer function.

    How do I execute the cellrenderer function manually from javascript – show it displays the correct image for me after I updated the cell values in the row?

    Thanks

    invoke the cellrenderer function #24972

    Peter Stoev
    Keymaster

    Hi,

    When you update a cell value, the cellsrenderer will be called automatically. If you wish to refresh the Grid manually, use its “refresh” method.

    Best Regards,
    Peter Stoev

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

    invoke the cellrenderer function #114836

    Manu Vashishtha
    Participant

    Hello

    Can we call the cellrenderer method on updaterow method of grid.
    I have done the code below, but its not working. Also I want to refresh single row to speed up my grid. I Don’t want to refresh the complete grid.

    $(‘#’ + _gridId).jqxGrid(‘updaterow’, rowIndex, data);
    $(‘#’ + _gridId).jqxGrid(‘refresh’);

    Please help, its urgent.

    Thanks & regards
    Manu Vashishtha

    invoke the cellrenderer function #114838

    Manu Vashishtha
    Participant

    This is resolved. I updated the styles public variable of my grid. Then it is working for me.

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

You must be logged in to reply to this topic.