[CLOSED] Grid Column Command...need Grid parameter!

  1. #1

    [CLOSED] Grid Column Command...need Grid parameter!

    Hi,
    I have a command column:

       <ext:CommandColumn runat="server" Width="25">                                         <Commands>
                                                 <ext:GridCommand Icon="Bin" CommandName="Delete" />
                                             </Commands>
                                               <Listeners> 
                                                <Command Fn="LeverageTable.deleteHandler" Handler="LeverageTable.grid=#{GridPanel1};"  EventArgument="" />  
                                            
                                               </Listeners>
                                                 <PrepareToolbar Fn="prepToolBar" /> 
                                         </ext:CommandColumn>
    The only params (item, command, record, recordIndex, cellIndex) don't include the grid.
    How can I get the grid associated to the command passed in as well?
    Last edited by Baidaly; Oct 19, 2013 at 1:15 AM. Reason: [CLOSED]
  2. #2
    Hello!
    Try to get it using
    item.grid
  3. #3
    Quote Originally Posted by Baidaly View Post
    Hello!
    Try to get it using
    item.grid

    Joy! That works

Similar Threads

  1. [CLOSED] Slow Grid Render on Large Data with Command Column
    By amitpareek in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 08, 2013, 2:41 PM
  2. command column messing up grid column
    By wp_joju in forum 1.x Help
    Replies: 2
    Last Post: Dec 08, 2010, 6:40 AM
  3. [CLOSED] Download file in grid command column click
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 31, 2010, 12:08 PM
  4. [CLOSED] [1.0] Command Column in Grid causes jscript error
    By chrisbranson in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 28, 2010, 4:04 PM

Posting Permissions