25 lines
859 B
Text
25 lines
859 B
Text
@using Kreta.BusinessLogic.Classes
|
|
@using Kreta.Framework
|
|
@using Kreta.Web.Helpers.Grid
|
|
@using Kreta.Web.Areas.Intezmeny.Models
|
|
@using Kreta.Web.Classes
|
|
@model CsengetesiRendModel
|
|
|
|
<div>
|
|
@(
|
|
Html.KretaGrid<CsengetesiRendTanevrendGridModel>
|
|
(
|
|
name: "CengetesiRendTanevrendGrid",
|
|
getUrl: new GridApiUrl("CsengetesiRendApi", "GetCsengetesiRendTanevrendAdatai", new Dictionary<string, string> { { "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))
|
|
)
|
|
</div>
|