0
` 我有GWT的DialogBox,將打開,一旦我點擊按鈕。鼠標滾動只在打開的對話框上工作,我想讓它也適用於父窗口。 我試圖通過使模態=「假」,但沒有用。請幫忙。如何啓用g的父窗口滾動:DialogBox
這裏是示例代碼
<g:DialogBox autoHide="false" glassEnabled="true" modal="true" styleName="{style.historyGraphDialogPanel}">
<g:HTMLPanel >
<table class="HistoryGraphInteractionTable" ui:field="historyGraphInteractionTable">
<tbody>
<tr>
<td>
<g:Button ui:field="lastDay">Last Day</g:Button>
<g:Button ui:field="lastWeek">Last Week</g:Button>
<g:Button ui:field="lastMonth">Last Month</g:Button>
</td>
</tr>
<tr>
<td>
<cdm:HistoryGraphWidget ui:field="graphWidget" />
</td>
</tr>
<tr>
<td>
<g:Button ui:field="closeButton">Close</g:Button>
</td>
</tr>
</tbody>
</table>
</g:HTMLPanel>
.historyGraphDialogPanel {
background-color: ivory;
}`