Results 1 to 3 of 3

Thread: Column Alignment

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-8109 in Architect 4.2.3.
  1. #1
    Sencha Premium User
    Join Date
    Nov 2012
    Location
    Austria
    Posts
    55
    Vote Rating
    2
      0  

    Default Column Alignment

    Description
    It is impossible to set the "align" - property of a grid-column to "right" or "left". The only possible values are "start", "center" and "end".
    But "end" and "right" handle the header in a different way: With "end" the header is left-aligned, with "right" it is right-aligned.
    ( https://fiddle.sencha.com/#view/editor&fiddle/262t )
    Also i can't find any documentation to "start" or "end" at http://docs.sencha.com/extjs/6.5.1/m...html#cfg-align

    SA Version
    4.2.2.282

    Platform
    1.6.2.49 - win32 x64

    CMD
    6.5.1.240


    Framework
    Ext JS 6.5.x Classic

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Vote Rating
    52
      0  

    Default

    With the docs you have to make a difference between classic and modern http://docs.sencha.com/extjs/6.5.1/c...mn.Column.html

    FYI you can just select the component in SA and click F1 it will open you the docs.

    So far it looks like bug in ExtJS because it clearly says that it should be also header. Anyway SA should allow you to write your own values. I will fix that.

  3. #3
    Sencha Premium User
    Join Date
    Nov 2012
    Location
    Austria
    Posts
    55
    Vote Rating
    2
      0  

    Default

    Hi,

    thanks for your quick reply. I'm glad to heard that this bug is going to be fixed.
    In the meantime, i wrote an override, that works for my usage (i need all number-columns right aligned ):

    Code:
    Ext.override(Ext.grid.column.Number, {    
      align: 'right'
    });

Similar Threads

  1. Replies: 2
    Last Post: 24 Sep 2014, 9:54 AM
  2. Column Alignment
    By jwendt@iscinternational.com in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 2 Sep 2009, 8:06 AM
  3. Column alignment?
    By Vanilo in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 23 Apr 2009, 10:21 AM
  4. Help with column alignment
    By michaelc in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 24 Oct 2008, 12:10 AM
  5. Column alignment issue in Grid after header re alignment
    By kalel in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 19 Dec 2007, 4:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •