When I click in my GroupCommand, I get this error:
"ReferenceError: record is not defined"
This is the code:
<DirectEvents>
<GroupCommand OnEvent="GrdHorarios_GroupCommand">
<EventMask ShowMask="true" MinDelay="2000" Msg="Carregando" />
<ExtraParams>
<ext:Parameter Value="record.data.IDBDRElenco" Mode="Raw" Name="elencoId">
</ext:Parameter>
<ext:Parameter Value="command" Mode="Raw" Name="commandName">
</ext:Parameter>
</ExtraParams>
</GroupCommand>
</DirectEvents>
Can I use the record.data.anyfield
in a GroupCommand
or exists a other way?