1. #1
    Ext User
    Join Date
    Jan 2008
    Posts
    52
    Vote Rating
    0
    redlz2500 is on a distinguished road

      0  

    Question How to set align of grid.RowNumberer

    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
    83
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Try align: 'center !important'

Thread Participants: 1