bgriffith
09-18-2006, 09:59 AM
Please feel free to point out something I'm doing wrong. Below is the code I am using along with the XML grid example.
While I'm posting, I'd also like to mention that I cannot get the XML grid to display its initial result set (from the local XML file) when I am openning the page locally. I have to upload it to a web server to get it to work. Locally, I see the headings, but there are no rows in the grid.
As for the SimpleDialog compatibility, I get weird scroll bars, and the grid is moved down below the visible portion of the screen. Here is my code. Please give it a try and let me know if this is a compatibility bug or possibly something I'm doing wrong. I simply added a button with onclick="showdlg()":
function showdlg()
{
dlg = new YAHOO.widget.SimpleDialog("dlg", { modal:true, visible:false, width:"350px", fixedcenter:true, constraintoviewport:true, draggable:true });
dlg.render(document.body);
dlg.show();
}
Is there a work-around for this?
While I'm posting, I'd also like to mention that I cannot get the XML grid to display its initial result set (from the local XML file) when I am openning the page locally. I have to upload it to a web server to get it to work. Locally, I see the headings, but there are no rows in the grid.
As for the SimpleDialog compatibility, I get weird scroll bars, and the grid is moved down below the visible portion of the screen. Here is my code. Please give it a try and let me know if this is a compatibility bug or possibly something I'm doing wrong. I simply added a button with onclick="showdlg()":
function showdlg()
{
dlg = new YAHOO.widget.SimpleDialog("dlg", { modal:true, visible:false, width:"350px", fixedcenter:true, constraintoviewport:true, draggable:true });
dlg.render(document.body);
dlg.show();
}
Is there a work-around for this?