-
2 Apr 2012 11:07 PM #1
Answered: how to change alignment of injected checkbox (selection.checkboxmodel)
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
-
Best Answer Posted by mitchellsimoens
You can mess with the margin-left CSS rule of x-grid-row-checker
-
3 Apr 2012 11:23 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
- Answers
- 3105
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 configMitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
3 Apr 2012 8:58 PM #3
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.
-
4 Apr 2012 4:27 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
- Answers
- 3105
You can mess with the margin-left CSS rule of x-grid-row-checker
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
4 Apr 2012 6:16 AM #5
Thanx again,
margin-left:35% works for me


Reply With Quote