Nov 18, 2011, 6:51 PM
[CLOSED] Disable/Enable edit control on gridpanel
I have code:
<ext:GroupingSummaryColumn Header="Specs" DataIndex="SpecsQty" ColumnID="specsFormat" Width="140" SummaryType="Sum">
<SummaryRenderer Handler="return value + ' Sets (Total: ' + value*parseInt(#{hdnSpecsCount}.getValue()) + ' Copies)'" />
<Editor>
<ext:SpinnerField ID="sfspecsFormat" runat="server">
<Listeners>
<Render Handler="this.setDisabled(parseInt(#{hdnSpecsCount}.getValue()) <= 0)"></Render>
</Listeners>
</ext:SpinnerField>
</Editor>
</ext:GroupingSummaryColumn>
It works fine on load, but I looking for event which can fire this.setDisabled(parseInt(#{hdnSpecsCount}.getValue()) <= 0)
for spinner if user change hdnSpecsCount variable.
Last edited by Daniil; Nov 21, 2011 at 4:07 PM.
Reason: Please use [CODE] tags, [CLOSED]