dojo.data.api.Read.getLabelAttributes
dojo.require("dojo.data.api.Read");
defined in dojo/data/api/Read.js
Method to inspect the item and return an array of what attributes of the item were used to generate its label, if any. This function is to assist UI developers in knowing what attributes can be ignored out of the attributes an item has when displaying it, in cases where the UI is using the label as an overall identifer should they wish to hide redundant information.
Usage
function (item) (view source)
parameter | type | description |
---|---|---|
item | The item to return the list of label attributes for. |