PDA

View Full Version : [CLOSED] Mandatory icon against the tree panel



MarginPoint
Nov 17, 2013, 11:08 AM
Hi Team,

Unable to show mandatory icon against the tree panel. Kindly suggest



<ext:TreePanel ID="treeCLALocation" runat="server" Lines="true" Draggable="false"
Height="300" UseArrows="false" AutoScroll="true" EnableDD="false" CollapseFirst="false"
ContainerScroll="true" Border="true" AutoDataBind="true" Shadow="None" RootVisible="false"
AutoDestroy="true" AutoRender="true" Mode="Remote" >
<Loader>
<ext:TreeLoader DataUrl="/Company/GetConsumptionLocationTree" PreloadChildren="true">
<Listeners>
<BeforeLoad Handler="Common.ShowMask(Ext.RESOURCE_STORE.getById('CLLoad ingLocations').data.Value);" />
<Load Handler="Common.HideMask();" />
</Listeners>
<BaseAttributes>

<ext:Parameter Name="nodeType" Value="node" Mode="Value" />
</BaseAttributes>
<BaseParams>
<nxtwc:NxtParameter Name="companyId" Value="Ext.SelectedCompanyId" Mode="Raw" />
<nxtwc:NxtParameter Name="consumptionLimitId" Value="Ext.SelectedConsumptionLimit"
Mode="Raw" />
<nxtwc:NxtParameter Name="isCLForPOU" Value="Ext.POUChecked" Mode="Raw" />
<ext:Parameter Name="departmentId" Value="Ext.DepartmentSelected" Mode="Raw" />
<ext:Parameter Name="itemId" Value="Ext.ItemSelected" Mode="Raw" />
</BaseParams>
</ext:TreeLoader>
</Loader>
<Root>
<ext:AsyncTreeNode NodeID='0' Draggable="false" Icon="BuildingKey" Expanded="false">
</ext:AsyncTreeNode>
</Root>
<Listeners>
<CheckChange Handler="CheckChildren(this,node,checked,'Location',#{ddCLA Location},#{dsCLAItem},#{cmbCLAItem});" />
</Listeners>
</ext:TreePanel>

Daniil
Nov 18, 2013, 6:28 AM
Hi @MarginPoint,

What is the Mandatory icon? Where is it supposed to be shown? And, finally, how do you show that icon in the code snippet?