[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 5: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, 11:07 AM
  2. Replies: 1
    Last Post: May 10, 2012, 9: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, 8:57 AM
  4. [1.0] Image Command + Text Wrapping
    By mj.daly in forum 1.x Help
    Replies: 0
    Last Post: Apr 20, 2011, 9:21 AM
  5. command column messing up grid column
    By wp_joju in forum 1.x Help
    Replies: 2
    Last Post: Dec 08, 2010, 6:40 AM

Posting Permissions