Dec 19, 2012, 10:58 AM
Pass the values from listeners to directmethod
i have a grid panel and inside it,i am using rowcommand with edit icon, what i wanna do is that pass the value, which got from inside of Listeners 's Comman Handler(record.data.company) , to the directmethod (codebehind).
how can I achieve that.
thank you.
how can I achieve that.
thank you.
<ext:CommandColumn runat="server" Width="60">
<Commands>
<ext:GridCommand Icon="Delete" CommandName="Delete">
<ToolTip Text="Delete" />
</ext:GridCommand>
<ext:CommandSeparator />
<ext:GridCommand Icon="NoteEdit" CommandName="Edit">
<ToolTip Text="Edit" />
</ext:GridCommand>
</Commands>
<Listeners>
<Command Handler="Ext.Msg.alert(command, record.data.company);" />
</Listeners>
</ext:CommandColumn>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel runat="server" Mode="Single" />
</SelectionModel>
</ext:GridPanel>