`
kendoui
  • 浏览: 28127 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Kendo UI Grid 基础功能介绍之二【Binding to local data】

    博客分类:
  • Grid
阅读更多

本示例展示Grid绑定本地Json数据进行展示。

 

效果展示

 

HTML参考代码 

 

 

 

Products.js 代码参考:

 

var products = [{
    ProductID : 1,
    ProductName : "Chai",
    SupplierID : 1,
    CategoryID : 1,
    QuantityPerUnit : "10 boxes x 20 bags",
    UnitPrice : 18.0000,
    UnitsInStock : 39,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 2,
    ProductName : "Chang",
    SupplierID : 1,
    CategoryID : 1,
    QuantityPerUnit : "24 - 12 oz bottles",
    UnitPrice : 19.0000,
    UnitsInStock : 17,
    UnitsOnOrder : 40,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 3,
    ProductName : "Aniseed Syrup",
    SupplierID : 1,
    CategoryID : 2,
    QuantityPerUnit : "12 - 550 ml bottles",
    UnitPrice : 10.0000,
    UnitsInStock : 13,
    UnitsOnOrder : 70,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 4,
    ProductName : "Chef Anton's Cajun Seasoning",
    SupplierID : 2,
    CategoryID : 2,
    QuantityPerUnit : "48 - 6 oz jars",
    UnitPrice : 22.0000,
    UnitsInStock : 53,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 5,
    ProductName : "Chef Anton's Gumbo Mix",
    SupplierID : 2,
    CategoryID : 2,
    QuantityPerUnit : "36 boxes",
    UnitPrice : 21.3500,
    UnitsInStock : 0,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 6,
    ProductName : "Grandma's Boysenberry Spread",
    SupplierID : 3,
    CategoryID : 2,
    QuantityPerUnit : "12 - 8 oz jars",
    UnitPrice : 25.0000,
    UnitsInStock : 120,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 7,
    ProductName : "Uncle Bob's Organic Dried Pears",
    SupplierID : 3,
    CategoryID : 7,
    QuantityPerUnit : "12 - 1 lb pkgs.",
    UnitPrice : 30.0000,
    UnitsInStock : 15,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 7,
        CategoryName : "Produce",
        Description : "Dried fruit and bean curd"
    }
}, {
    ProductID : 8,
    ProductName : "Northwoods Cranberry Sauce",
    SupplierID : 3,
    CategoryID : 2,
    QuantityPerUnit : "12 - 12 oz jars",
    UnitPrice : 40.0000,
    UnitsInStock : 6,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 9,
    ProductName : "Mishi Kobe Niku",
    SupplierID : 4,
    CategoryID : 6,
    QuantityPerUnit : "18 - 500 g pkgs.",
    UnitPrice : 97.0000,
    UnitsInStock : 29,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 10,
    ProductName : "Ikura",
    SupplierID : 4,
    CategoryID : 8,
    QuantityPerUnit : "12 - 200 ml jars",
    UnitPrice : 31.0000,
    UnitsInStock : 31,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 11,
    ProductName : "Queso Cabrales",
    SupplierID : 5,
    CategoryID : 4,
    QuantityPerUnit : "1 kg pkg.",
    UnitPrice : 21.0000,
    UnitsInStock : 22,
    UnitsOnOrder : 30,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 12,
    ProductName : "Queso Manchego La Pastora",
    SupplierID : 5,
    CategoryID : 4,
    QuantityPerUnit : "10 - 500 g pkgs.",
    UnitPrice : 38.0000,
    UnitsInStock : 86,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 13,
    ProductName : "Konbu",
    SupplierID : 6,
    CategoryID : 8,
    QuantityPerUnit : "2 kg box",
    UnitPrice : 6.0000,
    UnitsInStock : 24,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 14,
    ProductName : "Tofu",
    SupplierID : 6,
    CategoryID : 7,
    QuantityPerUnit : "40 - 100 g pkgs.",
    UnitPrice : 23.2500,
    UnitsInStock : 35,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 7,
        CategoryName : "Produce",
        Description : "Dried fruit and bean curd"
    }
}, {
    ProductID : 15,
    ProductName : "Genen Shouyu",
    SupplierID : 6,
    CategoryID : 2,
    QuantityPerUnit : "24 - 250 ml bottles",
    UnitPrice : 15.5000,
    UnitsInStock : 39,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 16,
    ProductName : "Pavlova",
    SupplierID : 7,
    CategoryID : 3,
    QuantityPerUnit : "32 - 500 g boxes",
    UnitPrice : 17.4500,
    UnitsInStock : 29,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 17,
    ProductName : "Alice Mutton",
    SupplierID : 7,
    CategoryID : 6,
    QuantityPerUnit : "20 - 1 kg tins",
    UnitPrice : 39.0000,
    UnitsInStock : 0,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 18,
    ProductName : "Carnarvon Tigers",
    SupplierID : 7,
    CategoryID : 8,
    QuantityPerUnit : "16 kg pkg.",
    UnitPrice : 62.5000,
    UnitsInStock : 42,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 19,
    ProductName : "Teatime Chocolate Biscuits",
    SupplierID : 8,
    CategoryID : 3,
    QuantityPerUnit : "10 boxes x 12 pieces",
    UnitPrice : 9.2000,
    UnitsInStock : 25,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 20,
    ProductName : "Sir Rodney's Marmalade",
    SupplierID : 8,
    CategoryID : 3,
    QuantityPerUnit : "30 gift boxes",
    UnitPrice : 81.0000,
    UnitsInStock : 40,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 21,
    ProductName : "Sir Rodney's Scones",
    SupplierID : 8,
    CategoryID : 3,
    QuantityPerUnit : "24 pkgs. x 4 pieces",
    UnitPrice : 10.0000,
    UnitsInStock : 3,
    UnitsOnOrder : 40,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 22,
    ProductName : "Gustaf's Knäckebröd",
    SupplierID : 9,
    CategoryID : 5,
    QuantityPerUnit : "24 - 500 g pkgs.",
    UnitPrice : 21.0000,
    UnitsInStock : 104,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 23,
    ProductName : "Tunnbröd",
    SupplierID : 9,
    CategoryID : 5,
    QuantityPerUnit : "12 - 250 g pkgs.",
    UnitPrice : 9.0000,
    UnitsInStock : 61,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 24,
    ProductName : "Guaraná Fantástica",
    SupplierID : 10,
    CategoryID : 1,
    QuantityPerUnit : "12 - 355 ml cans",
    UnitPrice : 4.5000,
    UnitsInStock : 20,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 25,
    ProductName : "NuNuCa Nuß-Nougat-Creme",
    SupplierID : 11,
    CategoryID : 3,
    QuantityPerUnit : "20 - 450 g glasses",
    UnitPrice : 14.0000,
    UnitsInStock : 76,
    UnitsOnOrder : 0,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 26,
    ProductName : "Gumbär Gummibärchen",
    SupplierID : 11,
    CategoryID : 3,
    QuantityPerUnit : "100 - 250 g bags",
    UnitPrice : 31.2300,
    UnitsInStock : 15,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 27,
    ProductName : "Schoggi Schokolade",
    SupplierID : 11,
    CategoryID : 3,
    QuantityPerUnit : "100 - 100 g pieces",
    UnitPrice : 43.9000,
    UnitsInStock : 49,
    UnitsOnOrder : 0,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 28,
    ProductName : "Rössle Sauerkraut",
    SupplierID : 12,
    CategoryID : 7,
    QuantityPerUnit : "25 - 825 g cans",
    UnitPrice : 45.6000,
    UnitsInStock : 26,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 7,
        CategoryName : "Produce",
        Description : "Dried fruit and bean curd"
    }
}, {
    ProductID : 29,
    ProductName : "Thüringer Rostbratwurst",
    SupplierID : 12,
    CategoryID : 6,
    QuantityPerUnit : "50 bags x 30 sausgs.",
    UnitPrice : 123.7900,
    UnitsInStock : 0,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 30,
    ProductName : "Nord-Ost Matjeshering",
    SupplierID : 13,
    CategoryID : 8,
    QuantityPerUnit : "10 - 200 g glasses",
    UnitPrice : 25.8900,
    UnitsInStock : 10,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 31,
    ProductName : "Gorgonzola Telino",
    SupplierID : 14,
    CategoryID : 4,
    QuantityPerUnit : "12 - 100 g pkgs",
    UnitPrice : 12.5000,
    UnitsInStock : 0,
    UnitsOnOrder : 70,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 32,
    ProductName : "Mascarpone Fabioli",
    SupplierID : 14,
    CategoryID : 4,
    QuantityPerUnit : "24 - 200 g pkgs.",
    UnitPrice : 32.0000,
    UnitsInStock : 9,
    UnitsOnOrder : 40,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 33,
    ProductName : "Geitost",
    SupplierID : 15,
    CategoryID : 4,
    QuantityPerUnit : "500 g",
    UnitPrice : 2.5000,
    UnitsInStock : 112,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 34,
    ProductName : "Sasquatch Ale",
    SupplierID : 16,
    CategoryID : 1,
    QuantityPerUnit : "24 - 12 oz bottles",
    UnitPrice : 14.0000,
    UnitsInStock : 111,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 35,
    ProductName : "Steeleye Stout",
    SupplierID : 16,
    CategoryID : 1,
    QuantityPerUnit : "24 - 12 oz bottles",
    UnitPrice : 18.0000,
    UnitsInStock : 20,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 36,
    ProductName : "Inlagd Sill",
    SupplierID : 17,
    CategoryID : 8,
    QuantityPerUnit : "24 - 250 g  jars",
    UnitPrice : 19.0000,
    UnitsInStock : 112,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 37,
    ProductName : "Gravad lax",
    SupplierID : 17,
    CategoryID : 8,
    QuantityPerUnit : "12 - 500 g pkgs.",
    UnitPrice : 26.0000,
    UnitsInStock : 11,
    UnitsOnOrder : 50,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 38,
    ProductName : "Côte de Blaye",
    SupplierID : 18,
    CategoryID : 1,
    QuantityPerUnit : "12 - 75 cl bottles",
    UnitPrice : 263.5000,
    UnitsInStock : 17,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 39,
    ProductName : "Chartreuse verte",
    SupplierID : 18,
    CategoryID : 1,
    QuantityPerUnit : "750 cc per bottle",
    UnitPrice : 18.0000,
    UnitsInStock : 69,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 40,
    ProductName : "Boston Crab Meat",
    SupplierID : 19,
    CategoryID : 8,
    QuantityPerUnit : "24 - 4 oz tins",
    UnitPrice : 18.4000,
    UnitsInStock : 123,
    UnitsOnOrder : 0,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 41,
    ProductName : "Jack's New England Clam Chowder",
    SupplierID : 19,
    CategoryID : 8,
    QuantityPerUnit : "12 - 12 oz cans",
    UnitPrice : 9.6500,
    UnitsInStock : 85,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 42,
    ProductName : "Singaporean Hokkien Fried Mee",
    SupplierID : 20,
    CategoryID : 5,
    QuantityPerUnit : "32 - 1 kg pkgs.",
    UnitPrice : 14.0000,
    UnitsInStock : 26,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 43,
    ProductName : "Ipoh Coffee",
    SupplierID : 20,
    CategoryID : 1,
    QuantityPerUnit : "16 - 500 g tins",
    UnitPrice : 46.0000,
    UnitsInStock : 17,
    UnitsOnOrder : 10,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 44,
    ProductName : "Gula Malacca",
    SupplierID : 20,
    CategoryID : 2,
    QuantityPerUnit : "20 - 2 kg bags",
    UnitPrice : 19.4500,
    UnitsInStock : 27,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 45,
    ProductName : "Rogede sild",
    SupplierID : 21,
    CategoryID : 8,
    QuantityPerUnit : "1k pkg.",
    UnitPrice : 9.5000,
    UnitsInStock : 5,
    UnitsOnOrder : 70,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 46,
    ProductName : "Spegesild",
    SupplierID : 21,
    CategoryID : 8,
    QuantityPerUnit : "4 - 450 g glasses",
    UnitPrice : 12.0000,
    UnitsInStock : 95,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 47,
    ProductName : "Zaanse koeken",
    SupplierID : 22,
    CategoryID : 3,
    QuantityPerUnit : "10 - 4 oz boxes",
    UnitPrice : 9.5000,
    UnitsInStock : 36,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 48,
    ProductName : "Chocolade",
    SupplierID : 22,
    CategoryID : 3,
    QuantityPerUnit : "10 pkgs.",
    UnitPrice : 12.7500,
    UnitsInStock : 15,
    UnitsOnOrder : 70,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 49,
    ProductName : "Maxilaku",
    SupplierID : 23,
    CategoryID : 3,
    QuantityPerUnit : "24 - 50 g pkgs.",
    UnitPrice : 20.0000,
    UnitsInStock : 10,
    UnitsOnOrder : 60,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 50,
    ProductName : "Valkoinen suklaa",
    SupplierID : 23,
    CategoryID : 3,
    QuantityPerUnit : "12 - 100 g bars",
    UnitPrice : 16.2500,
    UnitsInStock : 65,
    UnitsOnOrder : 0,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 51,
    ProductName : "Manjimup Dried Apples",
    SupplierID : 24,
    CategoryID : 7,
    QuantityPerUnit : "50 - 300 g pkgs.",
    UnitPrice : 53.0000,
    UnitsInStock : 20,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 7,
        CategoryName : "Produce",
        Description : "Dried fruit and bean curd"
    }
}, {
    ProductID : 52,
    ProductName : "Filo Mix",
    SupplierID : 24,
    CategoryID : 5,
    QuantityPerUnit : "16 - 2 kg boxes",
    UnitPrice : 7.0000,
    UnitsInStock : 38,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 53,
    ProductName : "Perth Pasties",
    SupplierID : 24,
    CategoryID : 6,
    QuantityPerUnit : "48 pieces",
    UnitPrice : 32.8000,
    UnitsInStock : 0,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : true,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 54,
    ProductName : "Tourtière",
    SupplierID : 25,
    CategoryID : 6,
    QuantityPerUnit : "16 pies",
    UnitPrice : 7.4500,
    UnitsInStock : 21,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 55,
    ProductName : "Pâté chinois",
    SupplierID : 25,
    CategoryID : 6,
    QuantityPerUnit : "24 boxes x 2 pies",
    UnitPrice : 24.0000,
    UnitsInStock : 115,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 6,
        CategoryName : "Meat/Poultry",
        Description : "Prepared meats"
    }
}, {
    ProductID : 56,
    ProductName : "Gnocchi di nonna Alice",
    SupplierID : 26,
    CategoryID : 5,
    QuantityPerUnit : "24 - 250 g pkgs.",
    UnitPrice : 38.0000,
    UnitsInStock : 21,
    UnitsOnOrder : 10,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 57,
    ProductName : "Ravioli Angelo",
    SupplierID : 26,
    CategoryID : 5,
    QuantityPerUnit : "24 - 250 g pkgs.",
    UnitPrice : 19.5000,
    UnitsInStock : 36,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 58,
    ProductName : "Escargots de Bourgogne",
    SupplierID : 27,
    CategoryID : 8,
    QuantityPerUnit : "24 pieces",
    UnitPrice : 13.2500,
    UnitsInStock : 62,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 59,
    ProductName : "Raclette Courdavault",
    SupplierID : 28,
    CategoryID : 4,
    QuantityPerUnit : "5 kg pkg.",
    UnitPrice : 55.0000,
    UnitsInStock : 79,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 60,
    ProductName : "Camembert Pierrot",
    SupplierID : 28,
    CategoryID : 4,
    QuantityPerUnit : "15 - 300 g rounds",
    UnitPrice : 34.0000,
    UnitsInStock : 19,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 61,
    ProductName : "Sirop d'érable",
    SupplierID : 29,
    CategoryID : 2,
    QuantityPerUnit : "24 - 500 ml bottles",
    UnitPrice : 28.5000,
    UnitsInStock : 113,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 62,
    ProductName : "Tarte au sucre",
    SupplierID : 29,
    CategoryID : 3,
    QuantityPerUnit : "48 pies",
    UnitPrice : 49.3000,
    UnitsInStock : 17,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 63,
    ProductName : "Vegie-spread",
    SupplierID : 7,
    CategoryID : 2,
    QuantityPerUnit : "15 - 625 g jars",
    UnitPrice : 43.9000,
    UnitsInStock : 24,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 64,
    ProductName : "Wimmers gute Semmelknödel",
    SupplierID : 12,
    CategoryID : 5,
    QuantityPerUnit : "20 bags x 4 pieces",
    UnitPrice : 33.2500,
    UnitsInStock : 22,
    UnitsOnOrder : 80,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 5,
        CategoryName : "Grains/Cereals",
        Description : "Breads, crackers, pasta, and cereal"
    }
}, {
    ProductID : 65,
    ProductName : "Louisiana Fiery Hot Pepper Sauce",
    SupplierID : 2,
    CategoryID : 2,
    QuantityPerUnit : "32 - 8 oz bottles",
    UnitPrice : 21.0500,
    UnitsInStock : 76,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 66,
    ProductName : "Louisiana Hot Spiced Okra",
    SupplierID : 2,
    CategoryID : 2,
    QuantityPerUnit : "24 - 8 oz jars",
    UnitPrice : 17.0000,
    UnitsInStock : 4,
    UnitsOnOrder : 100,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}, {
    ProductID : 67,
    ProductName : "Laughing Lumberjack Lager",
    SupplierID : 16,
    CategoryID : 1,
    QuantityPerUnit : "24 - 12 oz bottles",
    UnitPrice : 14.0000,
    UnitsInStock : 52,
    UnitsOnOrder : 0,
    ReorderLevel : 10,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 68,
    ProductName : "Scottish Longbreads",
    SupplierID : 8,
    CategoryID : 3,
    QuantityPerUnit : "10 boxes x 8 pieces",
    UnitPrice : 12.5000,
    UnitsInStock : 6,
    UnitsOnOrder : 10,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 3,
        CategoryName : "Confections",
        Description : "Desserts, candies, and sweet breads"
    }
}, {
    ProductID : 69,
    ProductName : "Gudbrandsdalsost",
    SupplierID : 15,
    CategoryID : 4,
    QuantityPerUnit : "10 kg pkg.",
    UnitPrice : 36.0000,
    UnitsInStock : 26,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 70,
    ProductName : "Outback Lager",
    SupplierID : 7,
    CategoryID : 1,
    QuantityPerUnit : "24 - 355 ml bottles",
    UnitPrice : 15.0000,
    UnitsInStock : 15,
    UnitsOnOrder : 10,
    ReorderLevel : 30,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 71,
    ProductName : "Flotemysost",
    SupplierID : 15,
    CategoryID : 4,
    QuantityPerUnit : "10 - 500 g pkgs.",
    UnitPrice : 21.5000,
    UnitsInStock : 26,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 72,
    ProductName : "Mozzarella di Giovanni",
    SupplierID : 14,
    CategoryID : 4,
    QuantityPerUnit : "24 - 200 g pkgs.",
    UnitPrice : 34.8000,
    UnitsInStock : 14,
    UnitsOnOrder : 0,
    ReorderLevel : 0,
    Discontinued : false,
    Category : {
        CategoryID : 4,
        CategoryName : "Dairy Products",
        Description : "Cheeses"
    }
}, {
    ProductID : 73,
    ProductName : "Röd Kaviar",
    SupplierID : 17,
    CategoryID : 8,
    QuantityPerUnit : "24 - 150 g jars",
    UnitPrice : 15.0000,
    UnitsInStock : 101,
    UnitsOnOrder : 0,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 8,
        CategoryName : "Seafood",
        Description : "Seaweed and fish"
    }
}, {
    ProductID : 74,
    ProductName : "Longlife Tofu",
    SupplierID : 4,
    CategoryID : 7,
    QuantityPerUnit : "5 kg pkg.",
    UnitPrice : 10.0000,
    UnitsInStock : 4,
    UnitsOnOrder : 20,
    ReorderLevel : 5,
    Discontinued : false,
    Category : {
        CategoryID : 7,
        CategoryName : "Produce",
        Description : "Dried fruit and bean curd"
    }
}, {
    ProductID : 75,
    ProductName : "Rhönbräu Klosterbier",
    SupplierID : 12,
    CategoryID : 1,
    QuantityPerUnit : "24 - 0.5 l bottles",
    UnitPrice : 7.7500,
    UnitsInStock : 125,
    UnitsOnOrder : 0,
    ReorderLevel : 25,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 76,
    ProductName : "Lakkalikööri",
    SupplierID : 23,
    CategoryID : 1,
    QuantityPerUnit : "500 ml",
    UnitPrice : 18.0000,
    UnitsInStock : 57,
    UnitsOnOrder : 0,
    ReorderLevel : 20,
    Discontinued : false,
    Category : {
        CategoryID : 1,
        CategoryName : "Beverages",
        Description : "Soft drinks, coffees, teas, beers, and ales"
    }
}, {
    ProductID : 77,
    ProductName : "Original Frankfurter grüne Soße",
    SupplierID : 12,
    CategoryID : 2,
    QuantityPerUnit : "12 boxes",
    UnitPrice : 13.0000,
    UnitsInStock : 32,
    UnitsOnOrder : 0,
    ReorderLevel : 15,
    Discontinued : false,
    Category : {
        CategoryID : 2,
        CategoryName : "Condiments",
        Description : "Sweet and savory sauces, relishes, spreads, and seasonings"
    }
}];

 

kendoui.io 中文社区: http://www.kendoui.io

原文链接:http://kendoui.io/blog/detail_19.html

分享到:
评论

相关推荐

    Kendoui grid多级分组表格展现

    应用kendoui grid实现的多级分组表格展现,里面包含了表格的分组统计以及单表合计功能、还有针对表格的刷新以及子表格刷新功能。此功能是在原有demo版本上改进,增加了很多的个别需求实现,在原来的版本是做不到的。...

    动态设置显示kendoui grid控件某一列的格式

    本篇文章将深入探讨如何动态地设置Kendo UI Grid中某一列的显示格式,特别是涉及到日期选择器(DatePicker)的自定义过滤功能。 首先,理解`kendoui grid customfilter`标签,这通常意味着我们需要实现自定义的过滤...

    Kendo UI框架grid的Excel导出功能改进js代码

    Kendo UI框架提供了强大的Excel导出功能,通过Grid的saveAsExcel能方便地导出Grid中的数据,而且格式美观大方,使用起来也非常方便。但是在实际使用中不是很理想,主要有以下两个问题: 1. 导出的列数据是原始值 ...

    标准kendo ui-grid控件用法

    以上只是Kendo UI Grid的基础介绍,实际应用中还有更多高级功能,如集成Ajax操作、自定义编辑器、导出数据、行内操作图标等。通过深入学习和实践,开发者可以根据需求构建出功能强大的数据管理界面。在提供的`grid1....

    KendoUI速查手册--中文

    1. 数据网格(Grid):Kendo UI Grid 是一个高度可配置的数据展示和管理工具,支持数据分页、排序、过滤、编辑等功能,同时提供了强大的行选择、分组、汇总和远程数据绑定能力。 2. 日历(Calendar):提供基本的...

    ui jquery kendo ui 一个不错的国外ui kendoui 又名剑道UI

    1. **组件丰富**:Kendo UI包含了数据网格(Grid)、日历(Calendar)、下拉列表(ComboBox)、日期选择器(DatePicker)、时间选择器(TimePicker)、滑块(Slider)、图表(Charts)等多种UI组件,覆盖了日常开发...

    Kendo UI Grid

    Kendo UI ,在ASP.NET MVC 4中使用Kendo UI Grid

    kendo ui 实现复杂表头

    该代码类里面实现的主要操作: 1.ajax 访问后代接口,并将结果返回值绑定到kendo ui 的grid上。 2. 实现复杂的kendo ui 的grid的表头设置,这个是本人亲自写的,并且经过验证是正确的

    kendoui.for.jquery.2018.3.911.commercial

    Kendo UI的数据绑定功能也是其亮点之一。它支持多种数据源,包括本地数组、远程服务(如ASP.NET Web API)和OData服务。数据网格(Grid)组件可以轻松地实现数据过滤、排序、分组和分页,极大地提高了数据操作的便利...

    kendoui asp.net mvc

    以上代码示例展示了如何使用Kendo UI Grid,并通过Ajax从控制器的`GetData`方法获取数据。这种集成方式使得Kendo UI组件与ASP.NET MVC的MVC模式紧密融合,提高了开发效率和代码可维护性。 总之,Kendo UI for ASP...

    Kendo UI Grid示例下载

    Kendo UI Grid为开发者提供了100多种丰富的网格功能,从基本的筛选、排序,到高级的编页、分层数据分组等等。毫不夸张的说,Kendo UI Grid是同类产品中数一数二的佼佼者。耳听为虚眼见为实,下面我为大家整理了它的...

    Kendo UI for Vue.docx

    "Kendo UI for Vue" Kendo UI for Vue 是一个使用 Vue.js 框架的本机组件库,旨在帮助开发者快速构建企业级 Web ...Kendo UI for Vue 是一个功能强大且灵活的本机组件库,旨在帮助开发者快速构建企业级 Web 应用程序。

    Kendo UI 开发教程

    首先,Kendo UI与jQuery UI有诸多相似之处,它们都基于jQuery,提供了丰富的GUI控件和动画效果。但Kendo UI在功能和组件数量上更为丰富,增加了模板(Template)、数据源绑定(DataSource)、MVVM支持,以及对移动...

    kendo ui学习资料

    总体而言,这份“Kendo UI学习资料”是全面了解和掌握Kendo UI的一个宝贵资源,涵盖了从基础使用到高级定制的多个层面,对于初学者和进阶开发者都有很高的学习价值。通过深入学习和实践,开发者可以利用Kendo UI高效...

    [Kendo UI] 移动应用开发 Kendo UI Mobile 实现 英文版

    [Packt Publishing] 移动应用开发 Kendo UI Mobile 实现 英文版 [Packt Publishing] Building Mobile Applications Using Kendo UI Mobile and ASP NET Web API E Book ☆ 图书概要:☆ Get started with ...

    kendo-ui-js-grid.zip_Kendo_grid js

    它的核心组件之一就是Kendo UI Grid,一个功能丰富的数据网格控件,能够轻松处理数据的显示、编辑、排序、分页等操作。在"Kendo_grid js"这个项目中,我们将探讨如何使用Kendo UI的JavaScript API来实现Grid的增删改...

    前台框架UI kendoui

    5. **JavaScript和CSS框架**:在`js`和`styles`目录下,包含了kendoui的JavaScript库和CSS样式文件,这些都是构建和定制kendoui应用的基础。 6. **Visual Studio文档(VSdoc)**:`vsdoc`文件夹中的内容是针对...

    MVC3中使用kendoui实例

    本文将详细介绍如何在MVC3项目中集成并使用Kendo UI,特别是针对Grid和TreeView的绑定方法。 首先,我们需要了解Kendo UI的核心概念。Kendo UI是一套JavaScript库,它包含多个UI控件,如数据网格(Grid)、下拉列表...

    Kendo UI官方demo

    Kendo UI是一个强大的框架用于快速HTML5 UI开发。基于最新的HTML5、CSS3和... Kendo UI包含了开发现代JavaScript开发所需要的所有一切,包括:强大的数据源,通用的拖拉(Drag-and-Drop)功能,模板,和UI控件。

    kendo ui 中文 汉化 文件

    kendo ui的中文国际化文件。已经对日期格式化进行了修正。 详细的,请看我的博文,kendo ui那点事里有详细使用说明。

Global site tag (gtag.js) - Google Analytics