Open Jblc3 opened 9 years ago
This issue with this I believe is that the error, create new, and delete dialogs, do not have classes assigned to the div they are created in, and i believe because of this the creation forks off to easyui to create the dialogs, and as somewhat orphaned from the jtable, they are plopped on the main window. Not sure if the Jtable dialogs when created are supposed to be assigned classes to their containing div or not. But the rest of the containers are such as div.mainContainer, div.jtable ect. The created dialogs are just being sent out as div.
My solution is to use easyuiloader, and selectively load only the modules i want easyui applied to such as:
easyloader.load('panel', function() {
$("#newOrderTableHolder").panel();
});
easyloader.load('datebox', function () {
$("#orderDate").datebox();
});
changing the jquery.easyui.min.js reference to easyuiloader.js
I have a button in an easyui styled panel whos click event fires off the ajax request to load the Jtable. In the event handler i hide the panel, then show divs allotted for my jtable. What seems to be happening is the createnew, edit, and delete prepared Jdialogs for the Jtable are being prepared, then rendered over the Jtable busy layer while the jtable loads behind it. I then need to close out all those dialogs, the busy layer closes, and jtable appears normally loaded but the events dont work correctly. If I remove easyui.jquery.min.js Jtable loads normally, but of course all my easyui functionality is lost. I did a little digging and it looks like the jtable busytimer is being toggled by easyui for some reason and the jdialogs end up being rendered in front of the busy layer. Anyone spot something i am missing here?
Script loading in head section :
This is my content HTML contained in body section:
This is my Jquery/Ajax code:
This is a screen capture of the issue: