Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
is it possible to set a C# list as data for the Kendo Treemap?
Thanks in advance.
public
static
List<TreeMapValue> treeMapValue =
new
List<TreeMapValue>();
HomeController()
{
treeMapValue.Add(
TreeMapValue { ID = 1, Value = 10, text =
"custom"
});
}
......
ActionResult GetTreeMapValues([DataSourceRequest] DataSourceRequest dsRequest)
var result = treeMapValue.ToDataSourceResult(dsRequest);
return
Json(result);