init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
@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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue