Jqgrid in a dialog window is not showing on the second calling

Posted by Dennis on Stack Overflow See other posts from Stack Overflow or by Dennis
Published on 2010-05-18T13:28:32Z Indexed on 2010/05/18 13:30 UTC
Read the original article Hit count: 509

Filed under:
|

I have this script below that will call my browse window; var $dialog = $('') .load('scripts/browsecharges.jsp') .dialog({ width: 800, height: 500, modal: false, title: 'Browse Charges', buttons: { Ok: function() { $(this).dialog('destroy'); } }, close: function(event, ui) { $(this).dialog('destroy').remove(); } }); $dialog.dialog('open');

This browse window contains a jqgrid in it. At first my jqgrid works fine, I can see the data. But calling this browse window for the second time, my jqgrid will not show anymore. What should I do to open it as many times as I want?

© Stack Overflow or respective owner

Related posts about jqgrid

Related posts about dialog