This commit is contained in:
2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions
@@ -0,0 +1,24 @@
@using Kreta.Framework
@using Kreta.Web.Helpers.Grid
@using Kreta.Web.Areas.Tantargy.Models
@using Kreta.Web.Classes
@model TantervModel
<div>
@(
Html.KretaGrid<TantervekOsztalyokGridModel>
(
name: "TantervOsztalyokGrid",
getUrl: new GridApiUrl("TantervekApi", "GetTantervOSztalyai", new Dictionary<string, string> { { "tantervID", Model.ID.ToString() } })
)
.Columns(columns =>
{
columns.Bound(c => c.Nev);
columns.Bound(c => c.Evfolyam_DNAME).Width("10%");
columns.Bound(c => c.Letszam).Width("10%");
})
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
)
</div>