jQWidgets Forums

jQuery UI Widgets Forums Grid Cell rendering

This topic contains 2 replies, has 1 voice, and was last updated by  Joe Weinpert 8 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Cell rendering #92941

    Joe Weinpert
    Participant

    Is there a way to force a cellsrenderer: to fire immediately after $( "#grid" ).jqxGrid( "updatebounddata" )?

    The cell rendering works after a cell is edited, but not when the grid is first populated. What am I missing?

    Cell rendering #92942

    Joe Weinpert
    Participant

    Wait … my fault, the cells are being rendered except getting the row height within the cellsrenderer: function by using rowHeight = $( "#row" + row + "managementGrid" ).height() is being ignored until after a cell is edited. The purpose of obtaining the current row height is to vertically center the cell’s value. Is there anyway to force knowing each row’s height after the data is populated and prior to editing a cell?

    Cell rendering #92943

    Joe Weinpert
    Participant

    Issue resolved. A delay will do the cell rendering properly for the grid when the need to get the current row heights exists: setTimeout( function(){ $( "#managementGrid" ).jqxGrid( "refresh" ) }, 500 )

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

You must be logged in to reply to this topic.