[CLOSED] column name gridpanel as parameter

  1. #1

    [CLOSED] column name gridpanel as parameter

    I get the column name of a gridpanel to send it as a parameter in the click event of a button
    Last edited by Daniil; Jan 29, 2013 at 3:21 PM. Reason: [CLOSED]
  2. #2
    Hi @JCarlosF,

    The requirement is unclear. Please clarify with more details.

    Do you need to know how to get a column's name? Or how to send it as a parameter? Also what is a column's "name" - DataIndex or Text?

    What exactly column do you need to get name of when you click the button?
  3. #3
    Attached Thumbnails Click image for larger version. 

Name:	Captura.JPG 
Views:	66 
Size:	39.5 KB 
ID:	5492  
    Last edited by Baidaly; Jan 29, 2013 at 2:36 AM. Reason: Please, use [CODE] tag
  4. #4
    Hello!

    Please, don't forget to use CODE tag.

    You can send column's property in this way:

    <Change OnEvent ="FiltrarUltimos">
    	 <ExtraParams>
    		 <ext:Parameter Name="columnText" Value="this.up('gridcolumn').text" Mode="Raw" />
    	 </ExtraParams>
     </Change>
  5. #5
    just what I needed

    Thanks!!

Similar Threads

  1. Replies: 0
    Last Post: Sep 27, 2012, 6:10 PM
  2. Replies: 3
    Last Post: Jun 30, 2010, 7:53 PM
  3. [CLOSED] Icon column in GridPanel based on column from store
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 12, 2010, 5:46 PM
  4. Replies: 3
    Last Post: Apr 08, 2010, 7:16 AM

Posting Permissions