Results 1 to 2 of 2

Thread: How to set align of grid.RowNumberer

  1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
      0  

    Question How to set align of grid.RowNumberer

    ext api told me that grid.RowNumberer can be passed into a Ext.grid.ColumnModel as a column
    so i set align:'center' to make the value centered
    but failed

    i set fixed:false, and then i can change the grid.RowNumberer width
    the work shows me my code(align) should take effect
    where's wrong?
    Code:
    new Ext.grid.RowNumberer({
    	header:'NO.',
    	width:40,
    	sortable:true,
    	align:'center',
    	fixed:false
    }),
    and, the sortable:true doesn't work

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    119
      0  

    Default

    Try align: 'center !important'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •