column.align : left|right|center|justify|initial|inheritDefault: "left"

This setting control the alignment of the text in the cell.

Examples

sample

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         columns: [
             { field: 'ID', align: 'center' },
             { field: 'Name', align: 'right' },
             { field: 'PlaceOfBirth', align: 'left' }
         ]
     });
 </script>