this seems a stupid question, but i can’t align column content in a Ext.Net gridpanel !
I use this :
<ext:Column DataIndex="category1" Header="Category" Align="Left" Width="80" />
But only the column header is aligned, not the content !
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To give different alignments for the column header and content, you should assign the
ColumnIDattribute for theext:Column.And then, you will be able to give one alignment for the header (by CSS with ColumnID in the class name) and another one for the content with the
Alignattribute.For example, to align the header to the center and the content to the left, your code will be like that: