jQWidgets Forums

jQuery UI Widgets Forums Grid Grid show/hide – Dynamic Source

This topic contains 2 replies, has 2 voices, and was last updated by  aoverton07 11 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Grid show/hide – Dynamic Source #31124

    aoverton07
    Participant

    I have a grid on my page that is hidden on page load. When a certain action is done, I want to show that ‘div’ that contains the grid and update its source. This is not working because of the new LAZY LOADING feature. The grid is not initialized until I ‘show’ the ‘div’, and when I try to define the grid’s source it does not accept the data because it is not fully initialized yet. I’ve tried binding to the ‘bindingcomplete’ callback with no success. How can i properly show/hide a grid and update its source? Which callback can i Use?

    Grid show/hide – Dynamic Source #31126

    Peter Stoev
    Keymaster

    Hi aoverton07,

    There is no such thing as “New Lazy Loading”. To set/get properties of a Grid or to invoke methods, make sure that you do that in the “bindingcomplete” handler or in the Grid’s “ready” callback function. It is not possible to set properties of the Grid while the binding is not completed and that is valid for all versions of jqxGrid since the first one.

    Best Regards,
    Peter Stoev

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

    Grid show/hide – Dynamic Source #31130

    aoverton07
    Participant

    it appears that with the newest version grids do not get fully rendered until all parent elements are visible. When the grid is made visible (it’s tab is selected) you cannot set the source until it gets fully rendered

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

You must be logged in to reply to this topic.