Ticket #570 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 14 months ago

Advanced SortableTable (ReportGrid)

Reported by: anonymous Owned by: ttrenka
Priority: normal Milestone:
Component: Widgets Version: 0.2
Severity: normal Keywords:
Cc:

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

ReportGrid.zip (89.3 kB) - added by anonymous 2 years ago.
ReportGrid? Source

Change History

Changed 2 years ago by anonymous

ReportGrid? Source

Changed 2 years ago by ttrenka

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).

Changed 2 years ago by alex

  • milestone set to 0.4

Changed 2 years ago by sgendler@…

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.

Changed 2 years ago by anthon_pang@…

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

Changed 2 years ago by dylan

  • owner changed from anonymous to ttrenka

Changed 23 months ago by ttrenka

  • status changed from new to closed
  • resolution set to wontfix

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.

Changed 14 months ago by anonymous

  • milestone deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.