0
有谁知道如何在ASP.NET MVC中设置Kendo Treemap的数据? 我有这样(C#列表)的列表:ASP.NET MVC Kendo UI树形图 - 数据?
Item | Count
------------------
Item 1 | 4
Item 2 | 7
Item 3 | 2
Item 4 | 9
这里是CSHTML部分组成演示现场(http://demos.telerik.com/aspnet-mvc/treemap):
@(Html.Kendo().TreeMap()
.Name("treeMap")
.DataSource(dataSource => dataSource
.Read(read => read
.Action("_PopulationUSA", "TreeMap")
)
.Model(m => m.Children("Items"))
)
.ValueField("Value")
.TextField("Name")
.HtmlAttributes(new { style = "height:600px; font-size: 12px;" })
)
我在哪里可以设置的值?
在此先感谢
这是我需要的 - 非常感谢! – stefanneumeister