View Full Version : how to change alignment of injected checkbox (selection.checkboxmodel)
2 Apr 2012, 11:07 PM
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
3 Apr 2012, 11:23 AM
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 (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.selection.CheckboxModel-cfg-injectCheckbox) config
3 Apr 2012, 8:58 PM
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
You can mess with the margin-left CSS rule of x-grid-row-checker
4 Apr 2012, 6:16 AM
margin-left:35% works for me
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.