Skip to content

Instantly share code, notes, and snippets.

@acatl
Created July 22, 2011 01:47
Show Gist options
  • Save acatl/1098705 to your computer and use it in GitHub Desktop.
Save acatl/1098705 to your computer and use it in GitHub Desktop.
ir.itemrenderer's options
$.widget("ir.itemrenderer", {
options: {
/** type string, name of widget to use as renderer */
itemRenderer:null,
/** type function, function that will be executed on each iteration*/
rendererFunction:null,
/** type function, function to process the label that will be used */
labelFunction:null,
/** type string, name of the field to use as the label */
labelField:null,
/** type Object, data source for the widget */
dataProvider:null
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment