Opened 13 years ago
Closed 13 years ago
#1372 closed enhancement (wontfix)
FilteringTable: allow custom formatters
Reported by: | Owned by: | Tom Trenka | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit | Version: | 0.4 |
Keywords: | filtering table html content | Cc: | |
Blocked By: | Blocking: |
Description (last modified by )
The html content in cells may be anchors or/and images and data may have a server side special format and sometimes are not displayed at all. e.g.
<table dojoType="FilteringTable" > <thead><tr> <th dataType="String">Name</th> <th dataType="Date">Date</th> <th dataType="Number">Value</th></tr></thead> <tbody> <tr value="1"><td data="Adam"><img src="img/adam.png"/></td> <td data="11/1/2003"><a href="LinkForADate?date=11/1/2003">Nov 1th 2003</a></td> <td data="12"><a href="linkForAValue?value=12"><img src="img/lowValue.png"/></a></td></tr> ...
Sort and filter are applied to data and cells are then rendered with the provided inner html content. This feature would allow special format for date ( using locale ) and for numbers, letting the complexity on the server side and then keeping lightweight the rendering engine.
Change History (6)
comment:1 Changed 13 years ago by
Version: | 0.2 → 0.3 |
---|
comment:2 Changed 13 years ago by
Version: | 0.3 → 0.4 |
---|
comment:3 Changed 13 years ago by
Summary: | Enable html content in filtering table cells → FilteringTable: allow custom formatters |
---|
comment:4 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 13 years ago by
Component: | Widgets → Dijit |
---|
The new Table widget will allow custom formatting of each column.
comment:6 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
FilteringTable? is not being ported to either Dijit or DojoX, so I'm closing the bug.
Note: See
TracTickets for help on using
tickets.
To clarify for my own uses, what the submitter is asking for is a way to format the data point that is a little more extensive that the current methodology; right now format is limited to date formatting, and was going to get numeric formatting. The poster is asking that a function be also passable, to let the user control/create any custom formatting desired.