2017-02-24 45 views
0

是否可以將PXSmartPanel窗口拆分爲2個網格?這是迄今爲止我嘗試過的,但它不起作用。如何使用PXSplitContainer拆分PXSmartPanel窗口

<px:PXSplitContainer> 
<template1> 
    <px:PXSmartPanel> 
    <px:PXFormview> 
    ... 
    ... 
    </px:PXFormview> 
    <px:PXGrid> 
    ... 
    ... 
    </px:PXGrid> 

</template1> 
<template2> 
    <px:PXGrid> 
    ... 
    ... 
    </px:PXGrid> 
</template2> 
</px:PXSmartPanel> 
</px:PXSplitContainer> 

回答

1

PXSmartPanel是一個呈現對話框的UI容器控件。 把它想象成一個操作系統中的對話窗口。 這是一個頂級容器,因此您無法將PXSmartPanel拆分爲2個網格。

也許你想要的是有2個網格由分割容器像下面的樣機一個PXSmartPanel內部分隔: Smart Panel Split Container 可以達到這個佈局包含下列元素:

<px:PXSmartPanel> 
    <px:PXSplitContainer> 
     <Template1> 
      <px:PXGrid/> 
     </Template1> 

     <Template2> 
      <px:PXGrid/> 
     </Template2> 
    </px:PXSplitContainer> 

    <px:PXPanel> 
     <px:PXButton/> 
     <px:PXButton/> 
    </px:PXPanel> 
</px:PXSmartPanel> 
+0

這個工作,非常感謝許多。 – JeffreyDRL