Results 1 to 5 of 5

Thread: how to change alignment of injected checkbox (selection.checkboxmodel)

  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
      0  

    Exclamation Answered: how to change alignment of injected checkbox (selection.checkboxmodel)

    how to change alignment of injected checkbox of a grid panel with checkbox selection model?

    if no config is provided, what and how css should be modified?

    Im working on 4.0.7

  2. You can mess with the margin-left CSS rule of x-grid-row-checker

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    What do you mean alignment? Like being right aligned in the column or at a certain index in the columns?

    If it's at a certain index you can take a look at the injectCheckbox config
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
      0  

    Default

    nope. i mean align property. it is align to left. while my custormer wish it to be centered.

    PS. I tried to reason with him . but its no use.

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      1  

    Default

    You can mess with the margin-left CSS rule of x-grid-row-checker
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  6. #5
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
      0  

    Default

    Thanx again,
    margin-left:35% works for me

Tags for this Thread

Posting Permissions

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