Opened 13 years ago

Closed 13 years ago

#3299 closed enhancement (fixed)

0.9: Add in getLabel() and getLabelAttributes() api to dojo.data.api.Read

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone:
Component: Data Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

0.9: Add in getLabel() and getLabelAttributes() api to dojo.data.api.Read

Adding a function to simplify getting a human-readable label for an item in a store as well as a function to identify which attributes were used to construct the label, if any (so they can be excluded on a UI if so desired.)

Attachments (2)

dojo.data_label_20070607.patch (6.3 KB) - added by Jared Jurkiewicz 13 years ago.
Patch to Read.js API definition for label and update to JsonItemStore? + UT
dojox.data_label_20070607.patch (10.4 KB) - added by Jared Jurkiewicz 13 years ago.
Patch to all additional stores in dojox for getLabel.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Jared Jurkiewicz

Patch to Read.js API definition for label and update to JsonItemStore? + UT

Changed 13 years ago by Jared Jurkiewicz

Patch to all additional stores in dojox for getLabel.

comment:1 Changed 13 years ago by Jared Jurkiewicz

Additions tested and passed on:

Windows:

IE 6 IE 7 Firefox 2.0.0.4 Seamonkey 1.1.1 Opera 9.2

Linux (x86):

Firefox 2.0.0.3

OS-X:

WebKit?

comment:2 Changed 13 years ago by Jared Jurkiewicz

(In [8960]) Adding in getLabel API. refs #3299

comment:3 Changed 13 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [8961]) Adding in getLabel API. fixes #3299

Note: See TracTickets for help on using tickets.