How can i do align grid command icon

  1. #1

    How can i do align grid command icon

    Hi all,

    <ext:CommandColumn Header="Sıra" Align="Center" Width="35" MenuDisabled="true" Resizable="false">
    <Commands>
    <ext:GridCommand Icon="Outline" CommandName="Siralama">
    <ToolTip Text="Seçilen kaydın sırasını ayarla." />
    </ext:GridCommand>
    </Commands>
    </ext:CommandColumn>
    How can i do align center ext:GridCommand icon.
    Thanks. for all.
  2. #2
    Hi,

    Please use the CommandColumn ButtonAlign.
    <ext:CommandColumn ButtonAlign="Center">
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use the CommandColumn ButtonAlign.
    <ext:CommandColumn ButtonAlign="Center">
    I will try it. Thanks for your solution.
  4. #4
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use the CommandColumn ButtonAlign.
    <ext:CommandColumn ButtonAlign="Center">
    @Daniil there is not a ButtonAlign attribute in ext:CommandColumn . Is there a mistake or is there version differency problem?

    Thanks.
  5. #5
    Don't remember for sure, but, seems it has been added for Ext.NET v1.2.

    Please clarify what sources do you use?
  6. #6
    Sorry. I had used old version. (i can't see)
    Now updated it.
    And see ButtonAlign attribute.

    Thanks for all.
    Last edited by fatihunal; Jan 20, 2012 at 3:55 AM.

Similar Threads

  1. Replies: 1
    Last Post: Apr 11, 2012, 12:39 PM
  2. Replies: 0
    Last Post: Feb 09, 2012, 2:39 PM
  3. [CLOSED] Icon Align in Text Field
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 13, 2011, 8:50 PM
  4. how to align the Icon in GridCommand to center
    By harshad.jadhav in forum 1.x Help
    Replies: 0
    Last Post: Dec 30, 2010, 10:24 AM
  5. Replies: 3
    Last Post: Dec 09, 2010, 5:40 AM

Tags for this Thread

Posting Permissions