asp.net - Ext.net grid: how to align column content? -


this seems stupid question, can't align column content in ext.net gridpanel ! use :

<ext:column dataindex="category1" header="category" align="left" width="80" /> 

but column header aligned, not content ! thanks

to give different alignments column header , content, should assign columnid attribute ext:column. , then, able give 1 alignment header (by css columnid in class name) , 1 content align attribute.

for example, align header center , content left, code that:

<style type="text/css">    .x-grid3-hd-category1     {       text-align: center;    } </style> <ext:column columnid="category1" dataindex="category1" header="category" align="left" width="80" /> 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -