我有一个要求,我需要在新窗口中显示拖放单元格表。我已经检查了答案,我已经用谷歌搜索了这个,但我没有得到适当的答案。我可以通过单击按钮打开一个新窗口。以下是我正在使用的代码:
@UiHandler(value = { "buttonReleaseView" })
void onReleaseViewClick(ClickEvent clickEvent) {
String winUrl = GWT.getModuleBaseURL() + "releaseView/";
String winName = "Release View";
openNewWindow (winName, winUrl); /* spawn a new window - not popup */
}
/**
* Opens a new windows with a specified URL..
*
* @param name String with the name of the window.
* @param url String with your URL.
*/
public static void openNewWindow(String name, String url) {
com.google.gwt.user.client.Window.open(url, name.replace(" ", "_"),
"menubar=no," +
"location=false," +
"resizable=yes," +
"scrollbars=yes," +
"status=no," +
"dependent=true");
}
现在,我应该如何在这个新窗口中显示单元格表?
请帮帮我。
提前致谢
里查