[CLOSED] Problem with paging...

Page 2 of 2 FirstFirst 12
  1. #11
    If i go with the
            this.getStore().loadPage(this.pageToRestore);
    it's going to select the records in the DB again. so I'll go with the
            this.child("#inputItem").setRawValue(this.pageToRestore);
            this.getStore().currentPage = this.pageToRestore;
    One question... the following line is really necessary?
            this.child("#inputItem").setRawValue(this.pageToRestore);
    without her the sample seems to run just fine.

    Thanks for all your replies till now and the ones to come, hehe
  2. #12
    Oh i see, only works when i click on the alert with the mouse... if i press the space bar, the number of the page does not chages...

    LOL

    ok, that's weird... anyway, i'm gonna do it your way...

    Thank you a lot,
  3. #13
    So, please clarify can we close the thread?
  4. #14
    Sure. Thank you a lot.
  5. #15
    Daniil,

    Now I'm trying to apply the same scenario that i put here, in the grid contained by the combobox. Is that possible?

    Just asking because I don't have the same direct access to the paging component. Without it i cant hide the last button...
    pagingToolbar.Listeners.BeforeRender.Handler = "this.getComponent('last').hidden = true;";
    or even apply your solution (described in this thread)...

    or theres a way? and I don't know of?
  6. #16
    This is how you can access ComboBox PagingToolbar.

    Example
    <ext:ComboBox runat="server" PageSize="1">
        <Listeners>
            <AfterRender Handler="var pt = this.getPicker().pagingToolbar;
                                  console.log(pt);" />
        </Listeners>
    </ext:ComboBox>
  7. #17
    Thanks for your reply here, but lets continue on the other one... http://forums.ext.net/showthread.php...f-the-ComboBox

    ty
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] MVC Grid Problem Paging
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 16, 2012, 7:55 PM
  2. Problem with paging
    By oseqat in forum 1.x Help
    Replies: 16
    Last Post: Jul 01, 2011, 10:50 PM
  3. Problem with paging toolbar
    By sonnh11 in forum 1.x Help
    Replies: 3
    Last Post: May 10, 2011, 12:08 PM
  4. [CLOSED] problem with Json Paging.
    By farisqadadeh in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 22, 2011, 5:20 PM
  5. Paging ToolBar Problem
    By kiran malgi in forum 1.x Help
    Replies: 2
    Last Post: Mar 29, 2010, 8:25 AM

Tags for this Thread

Posting Permissions