init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@using Kreta.Framework
|
||||
@using Kreta.Web.Helpers.Grid
|
||||
@using Kreta.Web.Areas.Tantargy.Models
|
||||
@using Kreta.Web.Classes
|
||||
@model TantervModel
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<TantervekTanulokGridModel>
|
||||
(
|
||||
name: "TantervTanulokGrid",
|
||||
getUrl: new GridApiUrl("TantervekApi", "GetTantervTanuloi", new Dictionary<string, string> { { "tantervID", Model.ID.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.Nev);
|
||||
columns.Bound(c => c.OsztalyNev);
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
||||
Reference in New Issue
Block a user