or
var stuff = [ { FirstName: "Joe", LastName: "Smith" }, { FirstName: "Jane", LastName: "Smith" }]; var ds = new kendo.data.DataSource({data: stuff}); $("#grid").kendoGrid({ columns:[ { field: "FirstName", title: "First Name" }, { field: "LastName", title: "Last Name" }], dataSource: ds.filter([{ field: "FirstName", operator: "neq", value: "Joe" }])});<div class="k-widget k-window panel">total: function(result) { return this.data(result).length;My XML:
My XML:<?xml version="1.0" encoding="utf-8"?><CatalogOfMovieItem xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CreateDate>2010-09-28T01:43:50.6860364+02:00</CreateDate> <ItemList> <MovieItem> <Foldername>My.Family</Foldername>....My Datasource:
var ds = new kendo.data.DataSource({ transport: { read: "Data/movies.xml" }, schema: { type: "xml", data: "/CatalogOfMovieItem/ItemList/MovieItem", model: { fields: { title: "Foldername/text()", rootFolder: "Rootfolder/text()", url: "ImdbUri/text()", year: "Year/text()" } } }, change: onMovieChange });The datasourcce seems to be loaded correctly.
Where could be the problem?
Thanks
Eric
$("#devType").closest("k-widget").hide();Hi!
I am using standard Kendo UI code from the slides withing Komodo Edit as ADE and Opera as browser.
Can anyone please tell me if it is possible and how to insert an image file .png .jpg etc icons into a column in Grid?
Thanks,
UPDATE: Since posting this issue I found the relevant video tutorial on Youtube which describes in intricate detail how to use templates to insert pictures into a grid, and I made it work. Great stuff!
http://youtu.be/gVu79Sh6Lpg