Results 1 to 5 of 5

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

  1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    23
    Vote Rating
    0
      0  

    Default 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
    18,426
    Vote Rating
    858
      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
      0  

    Default 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
    18,426
    Vote Rating
    858
      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
      0  

    Default Paging Toolbar text box size(Ext2.0)

    I integrated the code like this:

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

Posting Permissions

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