1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    23
    Vote Rating
    0
    sorna_lavanya is on a distinguished road

      0  

    Default How to Increase the box size of page number in paging ToolBar(EXT 2.0)

    How to Increase the box size of page number in paging ToolBar(EXT 2.0)


    In Paging Tool Bar size of the box shows page number is small.If page number is greater than two digits(eg: page number is 1234) its getting hide in that box Its possible to increase the size of the box

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,996
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Try this:

    Code:
    myToolbar.on('render', function()
    {
       this.field.dom.size = 10;
    }, myToolbar);

  3. #3
    Ext User
    Join Date
    Dec 2007
    Posts
    23
    Vote Rating
    0
    sorna_lavanya is on a distinguished road

      0  

    Default Paging toolbar text box size(Ext2.0)

    Paging toolbar text box size(Ext2.0)


    Thanks for your reply. Still the issue is unsolved .

    My Paging toolbar is like this:

    var paging = new Ext.PagingToolbar( {
    pageSize: PAGE_SIZE,
    store: ds,
    displayInfo: true,
    displayMsg: 'Displaying Records {0} - {1} of {2}',
    emptyMsg: "No Records found"
    });


    Paging is assigned to grid like this:
    operation_listing_grid = new Ext.grid.GridPanel({
    store: ds,
    colModel: cm,
    el:'audit_operation_editor-grid',
    bbar:paging ,
    xtype:'grid' ,
    autoHeight:true

    });

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,996
    Vote Rating
    649
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Why not? The code works, how did you integrate it with the code I posted?

  5. #5
    Ext User
    Join Date
    Dec 2007
    Posts
    23
    Vote Rating
    0
    sorna_lavanya is on a distinguished road

      0  

    Default Paging Toolbar text box size(Ext2.0)

    Paging Toolbar text box size(Ext2.0)


    I integrated the code like this:

    paging.on('render', function() {
    this.field.dom.size = 10; }, paging);

Thread Participants: 1