[CLOSED] Want to show only vertical scroll bar and horizontal scroll bar should be removed
Hi Team,
I am displaying controls inside a ext panel. Only 30% of the screen is dedicated to this panel. So if controls inside this panel exceed the height, then we have to provide scroll bar. In this case i am using the autoscroll property. But it shows both horizontal and vertical scroll bars. I want to show only vertical scoll bar
Code:
<ext:Panel ID="plIssueCustomFields" runat="server" PaddingSummary="5px 5px 0 10px"
Layout="FitLayout" AnchorHorizontal="100%" Border="false" AnchorVertical="30%"
BodyStyle="background-color: #DFE8F6" FormGroup="true" Title="Requisition Custom Fields"
Collapsed="true">
<Items>
<ext:FormPanel ID="IRReqHdrCustomFieldsContainer" runat="server" IDMode="Ignore" AutoScroll="true" AnchorVertical="100%" AnchorHorizontal="100%" Padding="6" ForceLayout="true" BodyStyle="background-color: #DFE8F6"
Layout="FormLayout" HideLabels="false" BodyBorder="false" Border="false">
<Content>
<nxtwuc:CustomFieldsCtrl runat="server" ID="ReqHdrCustomFields" />
</Content>
</ext:FormPanel>
</Items>
<Listeners>
<Collapse Handler="CustomFields.SaveCustomFieldsDetails('undefined',{store:'',entityID:'',entityType:'IssueRequisitionHeader',container:#{IRReqHdrCustomFieldsContainer}});" />
<Expand Handler="if(Ext.GLOBAL_STORE.IssueRequisitionMode == 'New'){CustomFields.AddCustomExtraFields('undefined',{container:#{IRReqHdrCustomFieldsContainer},entityType:'IssueRequisitionHeader',entityID:''});}
else{CustomFields.AddCustomExtraFields('undefined',{container:#{IRReqHdrCustomFieldsContainer},entityType:'IssueRequisitionHeader',entityID:Ext.GLOBAL_STORE.SelectedIssueRequisitionID});}" />
</Listeners>
</ext:Panel>