unable align column value with ExtJS grid
I am working on attched extjs grid.
I would like to align amount coloumn value to right.
Here extjs is adding amount field values with following html tag:
<div class="x-grid-cell-inner " style="text-align: left; ;">$879.235</div>
It is creating inner style with text-align:left and I am unable to align it to right.
I tried many solutions provided on this site but did not get solution.
Any help would be highly appreciated.
Where is your code?
Have you tried adding align to your column config?
I was missing align:'right' it worked.
Also I applied style:'text-align:right' to align column header.
Tags for this Thread