35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
@using Kreta.Web.Helpers.Grid;
|
|
@using Kreta.Web.Helpers
|
|
@using Kreta.BusinessLogic.Classes
|
|
@using Kreta.Web.Areas.OsztalyCsoport.Models
|
|
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
@model OsztalyTanuloinakKepzesiJellemzoiGridModel
|
|
|
|
<div style="padding-top:10px">
|
|
|
|
@(
|
|
Html.KretaGrid<TanuloKepzesiJellemzoGridModel>(
|
|
"KepzesiJellemzoDetailGrid" + Guid.NewGuid().ToString("N"),
|
|
new GridApiUrl("OsztalyApi", "GetOsztalyTanuloiByKepzesiJellemzok", new Dictionary<string, string>()),
|
|
useToolBar: false,
|
|
allowPaging: false,
|
|
allowScrolling: false,
|
|
showSorszam: false,
|
|
readDataFunction: "function(){ return { data: '" + Model.ToJson(true) + "' }; }"
|
|
)
|
|
.Columns(columns =>
|
|
{
|
|
columns.Bound(c => c.Nev);
|
|
columns.Bound(c => c.SzuletesiDatum).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
|
|
columns.Bound(c => c.OktatasiAzonosito);
|
|
})
|
|
.Sortable(sortable => sortable
|
|
.AllowUnsort(true)
|
|
.SortMode(GridSortMode.MultipleColumn))
|
|
)
|
|
</div>
|
|
|