@using Kreta.BusinessLogic.Classes
@using Kreta.Framework
@using Kreta.Web.Helpers.Grid
@using Kreta.Web.Areas.Intezmeny.Models
@using Kreta.Web.Classes
@model CsengetesiRendModel
@(
Html.KretaGrid
(
name: "CengetesiRendTanevrendGrid",
getUrl: new GridApiUrl("CsengetesiRendApi", "GetCsengetesiRendTanevrendAdatai", new Dictionary { { "CsRendID", Model.ID.ToString() } })
)
.Columns(columns =>
{
columns.Bound(c => c.Datum).Width("20%").Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
columns.Bound(c => c.Nev);
columns.Bound(c => c.Tipus_DNAME);
})
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
)