Jan 07, 2013, 8:55 AM
[CLOSED] How to get the pressed value of a GridCommand ?
Hello,
I have a Grid that offers a refresh button in each row. The grid also has two gridCommands with toggle functionality.
My refresh function needs to know if these gridCommands are pressed or not.
My GridCommands:
I have a Grid that offers a refresh button in each row. The grid also has two gridCommands with toggle functionality.
My refresh function needs to know if these gridCommands are pressed or not.
My GridCommands:
<ext:CommandColumn ID="CommandColumn2" runat="server" Width="30">
<Commands>
<ext:GridCommand Icon="ArrowSwitch" CommandName="linieAnzeigen" StandOut="false">
<ToolTip Text="Linie anzeigen" />
<CustomConfig>
<ext:ConfigItem Name="enableToggle" Value="true" />
<ext:ConfigItem Name="pressed" Value="true" />
</CustomConfig>
</ext:GridCommand>
</Commands>
<Listeners>
<Command Handler="showTourbyID(record.data.TourNummer,command);" />
</Listeners>
</ext:CommandColumn>
<ext:CommandColumn ID="CommandColumn3" runat="server" Width="30">
<Commands>
<ext:GridCommand Icon="BulletGreen" CommandName="punkteAnzeigen" StandOut="false">
<ToolTip Text="Punkte anzeigen" />
<CustomConfig>
<ext:ConfigItem Name="enableToggle" Value="true" Mode="Raw" />
</CustomConfig>
</ext:GridCommand>
</Commands>
<PrepareToolbar Fn="prepareTogglePoints" />
<Listeners>
<Command Handler="showTourbyID(record.data.TourNummer,command);" />
</Listeners>
</ext:CommandColumn>
My refresh function is client side, how can I access the pressed value(or toggle-status) of these two grid commands?
Last edited by Daniil; Jan 11, 2013 at 3:44 AM.
Reason: [CLOSED]