Is there any way to set align of gridpanel title to "center" ?
I'd like "First Name" to be aligned "centerCode:..... items :[ { xtype:'gridpanel', id:'gridPanel', title:'First Name', forceFit: true, columnWidth: 0.5, ..... } ] .....
Is there any way to set align of gridpanel title to "center" ?
I'd like "First Name" to be aligned "centerCode:..... items :[ { xtype:'gridpanel', id:'gridPanel', title:'First Name', forceFit: true, columnWidth: 0.5, ..... } ] .....
Code:{..... title: 'My Title', style:'text-align:center;', ... }
Hi user14,
Try below code -
Working sample example http://jsfiddle.net/UJ6pz/Code:.....items :[ { xtype:'gridpanel', id:'gridPanel', title: '<div style="text-align:center;">First Name</div>', forceFit: true, columnWidth: 0.5, ..... } ].....
sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.