PDA

View Full Version : [CLOSED] column name gridpanel as parameter



JCarlosF
Jan 28, 2013, 2:20 PM
I get the column name of a gridpanel to send it as a parameter in the click event of a button

Daniil
Jan 28, 2013, 2:27 PM
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?

JCarlosF
Jan 28, 2013, 4:23 PM

Baidaly
Jan 29, 2013, 2:51 AM
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>

JCarlosF
Jan 29, 2013, 3:19 PM
just what I needed

Thanks!!