Table Pagination when Navigating to Page

View: New views
4 Messages — Rating Filter:   Alert me  

Table Pagination when Navigating to Page

by Dave_Curry :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

NB6.0 (stop laughing)
Hey, Futaleufu_John, thanks for your help...
Took his advice on using a paginated table for 'key' fields, with a 'Select' button, and then GridPanels for grouping related fields together below the table.  Sweet!!!  except...

The page works properly (table only displays 5 rows, as I want) when it is the starting page, but when I navigate to it from a 'menu' page, the "paginateButton" setting (checked) seems to be ignored.  I get dozens(+++) of rows, and no pagination controls. =(

Surprised this isn't in any forums (yes, I looked).  Any ideas, gang?
Dave

Re: Table Pagination when Navigating to Page

by Dave_Curry :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Note to self - when you copy a button, CHANGE THE !@$$@@$@ HANDLER!!!
never mind...

Re: Table Pagination when Navigating to Page

by Dave_Curry :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, temper's settled, so a bit more detail on the 'solution'.

I, uh, didn't really notice that no matter which menu button I clicked, I was seeing the SAME page, which does NOT have/need pagination.  <groan>  All the buttons returned 'case1'.  Get it now?  Change the handlers to return the correct 'case#', and things work fine.

Mmmmm, gotta love that humble pie.  Please have a good laugh at this...classic.

Re: Table Pagination when Navigating to Page

by Futaleufu_John :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The table "remembers" the last paginate setting. If you display all the rows in the table, navigate to another page, then navigate back to the first page, the table will display the rows based on the last paginate setting.

Dave_Curry wrote:
The page works properly (table only displays 5 rows, as I want) when it is the starting page, but when I navigate to it from a 'menu' page, the "paginateButton" setting (checked) seems to be ignored.  I get dozens(+++) of rows, and no pagination controls. =(
Any ads or links to ads that appear in this post are not endorsed nor recommended by this poster.