Skip to content

Instantly share code, notes, and snippets.

@Pierry
Created September 30, 2013 20:40
Show Gist options
  • Save Pierry/6769939 to your computer and use it in GitHub Desktop.
Save Pierry/6769939 to your computer and use it in GitHub Desktop.
Criando grid básica com a Kendo
<!-- Add Grid Markup -->
<div id="grid">
#grid {
text-align: left;
}
/* Add Grid Styles Here */
.k-widget {
background-color: #FFFFFF;
}
// Add Grid data and initialization code
var movies = [
{ Title: "Star Wars: A new Hope", Year: 1977 },
{ Title: "Star Wars: The Empire Strikes Back", Year: 1980 },
{ Title: "Star Wars: Return of the Jedi", Year: 1983 },
];
$("#grid").kendoGrid({
dataSource: new kendo.data.DataSource({
data: movies
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment