GroupCommand Extra Param (record.data.)

  1. #1

    GroupCommand Extra Param (record.data.)

    When I click in my GroupCommand, I get this error:

    "ReferenceError: record is not defined"

    My Grid DirectEvents:

    
    <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?
  2. #2

    Solution

    in a GroupCommand you can use a records[0].data.anyfield

    ...

    Thanks..

Similar Threads

  1. Replies: 0
    Last Post: Nov 20, 2012, 1:08 PM
  2. [CLOSED] Passing an Extra param with a gridpanel dragdrop
    By DougMcDonald in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 21, 2012, 5:53 PM
  3. Replies: 6
    Last Post: Nov 17, 2011, 9:54 AM
  4. Replies: 4
    Last Post: Nov 11, 2010, 11:46 AM
  5. Extra record in ComboBox
    By koresx in forum 1.x Help
    Replies: 1
    Last Post: Nov 21, 2008, 1:53 PM

Tags for this Thread

Posting Permissions