Skip to content

Instantly share code, notes, and snippets.

@acatl
Created July 22, 2011 03:06
Show Gist options
  • Save acatl/1098808 to your computer and use it in GitHub Desktop.
Save acatl/1098808 to your computer and use it in GitHub Desktop.
itemrenderer example 2: using objects as elements of the dataProvider
$(function () {
var itemrendererOptions = {
dataProvider: [
{
label: "lorem"
},
{
label: "lipsum"
},
{
label: "dolor"
},
{
label: "sit"
}
]
};
$("#itemrenderer").itemrenderer(itemrendererOptions);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment