jQWidgets Forums

jQuery UI Widgets Forums Grid View port

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    View port Posts
  • View port #5098

    skarni
    Member

    Hi,
    We are currently evaluating your grid for our BI solutions.
    I do have one question ,
    Is there a way to get all visible cells (all view port cells).
    When the data we would like to present in a grid become pretty big we are planing to use a virtual scroll mode.
    The KPI information may be available few seconds after the grid is rendered. so we would like to attach those styles (e.g. cell background color) with minimal performance hit (we dont want to see any browser freeze ).
    Do I need to update only the visible cells in this case ?
    Would a full re-draw of the grid will be needed ?

    Thx
    Sagi

    View port #5110

    Peter Stoev
    Keymaster

    Hi Sagi,

    It is not necessary to get all visible cells to add styles, you just need to handle the Grid Columns cellsrendering callback. That function is called when a cell is going to be rendered and you just need to return the appropriate HTML string depending on your scenario. For more information take a look at this help topic: jquery-grid-cellsrendering.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.