[CLOSED] Dynamic Text for command column

  1. #1

    [CLOSED] Dynamic Text for command column

    ext 1.7

    I have a CommandColumn as follows

                                        <ext:CommandColumn Width="90">
                                            <Commands>
                                                <ext:GridCommand Icon="ComputerGo" CommandName="Test1" Text="Test">
                                                    <ToolTip Text="Test" />
                                                </ext:GridCommand>
                                            </Commands>
                                        </ext:CommandColumn>
    I want the text to add a dynamic value from the record like this 'Text={count} Test" where {count} is a value that was read from that record. Is this possible?

    Thanks,
    /ZD
    Last edited by Daniil; Aug 02, 2013 at 6:38 AM. Reason: [CLOSED]
  2. #2
    Hi @Z,

    Please use a PrepareToolbar handler.
    https://examples1.ext.net/#/GridPane...epare_Toolbar/
  3. #3
    works great!

Similar Threads

  1. [CLOSED] grid command group before text
    By pdcase in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 14, 2012, 12:07 PM
  2. Replies: 1
    Last Post: May 10, 2012, 10:50 PM
  3. [CLOSED] Command Column alignment + header text not working
    By machinableed in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 10, 2012, 9:57 AM
  4. [1.0] Image Command + Text Wrapping
    By mj.daly in forum 1.x Help
    Replies: 0
    Last Post: Apr 20, 2011, 10:21 AM
  5. command column messing up grid column
    By wp_joju in forum 1.x Help
    Replies: 2
    Last Post: Dec 08, 2010, 7:40 AM

Posting Permissions