Ticket #71 (closed enhancement: fixed)
SelectionPanel: Capability to customize display results
| Reported by: | aboudreault | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | P2 | Milestone: | 1.1 |
| Component: | Widgets | Version: | 1.0.6 |
| Severity: | Major | Keywords: | |
| Cc: | jlacroix@…, dmorissette@…, madair, pagameba | External ID: | |
| state: | Approved | Browser: | All |
| Operating System: | All |
Description
I think it would great to be able to customize the display of results when a selection has been made. The original SelectionPanel? will probably be enough for most users who will only add their CSS style. However I think that a lot of users would be happy to be able to customize the display results to produce their own query results. For exemple, a user may wants all the results in a simple table which contains one <tr> per features and one <td> per attributes. Another great feature would be the support of setting something like: 10 features per page, with a next/prev button. Basicly, the proposed solution is the following:
* Create a more flexible widget that will let the user define his function to render the features
The user will write his own javascript function which will produce the html.
* (Future?) Add a setting in the ApplicationDefinition.xml to specify the number of results per pages and functions that would return the results of the current/previous/next page.

