Nov 13, 2012, 9:24 AM
[CLOSED] Dynamically change CommandColumn properties
Hi folks,
I have these commands in a gridpanel.
I need to change Icon from Pencil to Lock and CommandName="edit_command" to CommandName="editionpassword_command" according
record.data.Protegido == 'P'
Please can you help me?
Cheers!!
I have these commands in a gridpanel.
I need to change Icon from Pencil to Lock and CommandName="edit_command" to CommandName="editionpassword_command" according
record.data.Protegido == 'P'
Please can you help me?
Cheers!!
<ext:CommandColumn Width="50">
<Commands>
<ext:GridCommand Icon="Pencil" CommandName="edit_command">
<ToolTip Text="Seleccionar" />
</ext:GridCommand>
<ext:GridCommand Icon="Delete" CommandName="delete_command">
<ToolTip Text="Borrar" />
</ext:GridCommand>
</Commands>
</ext:CommandColumn>
Last edited by Daniil; Nov 13, 2012 at 2:42 PM.
Reason: [CLOSED]