Jul 10, 2018, 8:09 PM
Hide Refresh button on Combobox editor using template
Hello,
I have this column definition in a grid. The combobox editor uses a template.
Is it possible to hide the refresh button at template's bottom bar?
I have this column definition in a grid. The combobox editor uses a template.
Is it possible to hide the refresh button at template's bottom bar?
<ext:Column Header="Valor" DataIndex="Id_Valor" Width="300" Sortable="true" Groupable="true">
<Editor>
<ext:ComboBox ID="cmbVNormal" runat="server" AllowBlank="false" Mode="Local" ForceSelection="true" ItemSelector="tr.list-item" PageSize="20"
DisplayField="Nombre" ValueField="Id_Concepto_Cuenta" TriggerAction="All" ListWidth="320" HideRefresh="true">
<Store>
<ext:Store ID="dtCCuentaVN" runat="server">
<Reader>
<ext:JsonReader IDProperty="Id_Concepto_Cuenta">
<Fields>
<ext:RecordField Name="Id_Concepto_Cuenta" Mapping="Id_Concepto_Cuenta" Type="Int" />
<ext:RecordField Name="Nombre" Mapping="Nombre" Type="String" />
<ext:RecordField Name="Valor" Mapping="Valor" Type="String" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
</Store>
<Template ID="Template1" runat="server">
<Html>
<tpl for=".">
<tpl if="[xindex] == 1">
<table class="cb-list" >
<tr>
<th>Concepto</th>
<th>Valor</th>
</tr>
</tpl>
<tr class="list-item" >
<td style="padding:3px 0px;">{Nombre}</td>
<td>{Valor:usMoney}</td>
</tr>
<tpl if="[xcount-xindex]==0">
</table>
</tpl>
</tpl>
</Html>
</Template>
</ext:ComboBox>
</Editor>
</ext:Column>