jQuery UI Widgets Forums Grid Replace grid with new grid

Tagged: ,

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Replace grid with new grid #94383

    mr_putersmit
    Participant

    Hello
    I have checked all the docs and cannot seem to find a way to replace a grid with a new grid. For example I makeup my php page and the grid works well. However, I need to replace the grid with completely new data and headers etc from a jqxcombobox call. The problem I am facing is that if I destroy first grid this removes all resources so they are not available in the new grid. I am referring to buttons etc.

    I am using an external JS file to load 2nd grid if that makes a difference. Is there any docs as to how to replace grid with new data and headers/columns. Many thanks

    Replace grid with new grid #94389

    Peter Stoev
    Keymaster

    You can destroy the Grid with its “destroy” method, append a new DIV tag and create a new Grid.

    Best Regards,
    Peter Stoev

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

    Replace grid with new grid #94394

    mr_putersmit
    Participant

    Peter
    Do you have example of how code to code your reply please. Not sure how to code this. Thanks

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

You must be logged in to reply to this topic.