@using Kreta.Web.Helpers.Grid
@using Kreta.Web.Areas.Intezmeny.Models
@model CsengetesiRendModel
@Html.KretaLabelFor(x => x.Nev, 3, 3)
@(
Html.KretaGrid
(
"CengetesiRendOraGrid",
new GridApiUrl("CsengetesiRendApi", "GetCsengetesiRendOrai", new Dictionary { { "csrendID", Model.ID.ToString() }, { "onlyReal", "true" } }),
showSorszam: false
)
.Columns(columns =>
{
columns.Bound(c => c.Oraszam);
columns.Bound(c => c.Kezdete);
columns.Bound(c => c.Vege);
})
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
)