#570 closed enhancement (wontfix)
Advanced SortableTable (ReportGrid)
Reported by: | anonymous | Owned by: | Tom Trenka |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Is anyone interested in an Advanced SortableTable?? I have expanded on the SortableTable? widget to include the following:
- Allow sorting of large record sets (a few thousand). A custom algorithm (curtesy of www.henk-reints.nl/) instead of the built in array sort method.
- Paging that allows you to specify a maximum number of records per page. A navigation control included to facilitate moving between pages. The navigation control is a separate widget
- Columns and data can be parsed as js arrays to allow dynamic creation.
- Control can be a div or table.
- Can parse a footer if you require totals.
- Filter by each column: equals, greater than, less than, etc. It sorts the column so that a full array scan is not required.
- Format numbers using Mochikit formatter.
Attachments (1)
Change History (8)
Changed 15 years ago by
Attachment: | ReportGrid.zip added |
---|
comment:1 Changed 15 years ago by
If you'd like this to be considered please consider filing a CLA with the Dojo Foundation first (see http://dojotoolkit.org/community/ for information about the CLA and submissions).
comment:2 Changed 15 years ago by
Milestone: | → 0.4 |
---|
comment:3 Changed 15 years ago by
Your component works great, but there are a couple of bugs. It sorts numeric columns as strings, although it does dates correctly. Also, the filter doesn't seem to work correctly at all, although maybe that is because it is doing string comparison instead of numeric. It could be as simple as sending values in json without wrapping them in quotes first. I don't know much abotu javascript, so I don't know if that is legal.
If I don't see the original poster respond, I'll probably pick up development of this component, but I have a lot to learn about dojo, first.
comment:4 Changed 15 years ago by
Who's the anonymous submitter? I couldn't find a name or email in the .zip file.
BTW Sam's mods are here: http://tacoscomponents.jot.com/WikiHome/ReportGrid+Example
comment:5 Changed 15 years ago by
Owner: | changed from anonymous to Tom Trenka |
---|
comment:6 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Given that the submitter is anonymous and we've no way of knowing if this is owned code or not, I'm going to close this bug in favor of the development efforts going on with the dojo.data API discussions.
ReportGrid? Source