Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Request #15435 Add method SetRequestSuffix()
Submitted: 2008-12-29 07:53 UTC
From: mpgjunky Assigned:
Status: Open Package: Structures_DataGrid (version 0.9.0)
PHP Version: 5.1.6 OS: Fedora 6
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-29 07:53 UTC] mpgjunky (Michael Mussulis)
Description: ------------ I am using jQuery + jQuery Tabs to display 2 grids on the same page, one grid per tab. I need to make sure each grid is using different request variables, both in paging and column headers. I am trying to add an anchor "#t_all" at the end of the request queries but I can't find any means of achieving this. The request should look like: Tickets.php?annon_orderBy=adate&annon_direction=ASC&annon_page=7#t_all I've tried using 'extraVars' option but that doesn't work since it's an array, and all attempts result in 0=#t_all or similar variations. Having a simple SetRequestSuffix(string) method would solve the problem, unless there's a different way that I have missed.

Comments

 [2008-12-29 07:57 UTC] mpgjunky (Michael Mussulis)
Perhaps the method should be called SetURLSuffix() since it will not be modifying any variables.
 [2008-12-29 08:07 UTC] mpgjunky (Michael Mussulis)
Alternatively, perhaps an option could be added to the Renderers, called 'urlSuffix'.