Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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:


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 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) (89.3 KB) - added by anonymous 16 years ago.
ReportGrid? Source

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by anonymous

Attachment: added

ReportGrid? Source

comment:1 Changed 16 years ago by Tom Trenka

If you'd like this to be considered please consider filing a CLA with the Dojo Foundation first (see for information about the CLA and submissions).

comment:2 Changed 16 years ago by alex

Milestone: 0.4

comment:3 Changed 16 years ago by [email protected]

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 16 years ago by [email protected]

Who's the anonymous submitter? I couldn't find a name or email in the .zip file.

BTW Sam's mods are here:

comment:5 Changed 16 years ago by dylan

Owner: changed from anonymous to Tom Trenka

comment:6 Changed 16 years ago by Tom Trenka

Resolution: wontfix
Status: newclosed

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 API discussions.

comment:7 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.