Hi,
I'm trying to test out the Grid control and it will not display on my page. If I do view/source, I can see it actually.
Steps I took:
1. Installed NuGet package: Telerik.UI.forAspNet.Core.Trial
2. Updated Startup.cs with entries for json, AddKeno()
3. Updated Views/_ViewImports to include Kendo.Mvc.UI and the tag Helper
4. Added the div below to my page (I have a controller named LineItemsController with a JsonResult function named GetLineItems)
<div class="col-md-12">
@(Html.Kendo().Grid<LineItem>()
.Name("BidGrid")
.Columns(columns =>
{
columns.Bound(li => li.AvailableQty).Filterable(false);
columns.Bound(li => li.Category);
columns.Bound(li => li.Description);
columns.Bound(li => li.InstalledUnitCost);
columns.Bound(li => li.MaterialCost);
})
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.HtmlAttributes(new { style = "height:550px;" })
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.Read(read => read.Action("GetLineItems","LineItems"))
)
)
</div>