33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
@using Kreta.Web.Helpers.Grid;
|
|
@using Kreta.Web.Areas.Tanulo.Models
|
|
@using Kreta.Resources;
|
|
|
|
<div class="container-fluid details">
|
|
<div class="col-xs-12 settings fa-border" style="background-color: whitesmoke" >
|
|
<h3>@OrarendResource.CsokkentettJogosultsag</h3>
|
|
<div class="col-xs-12">
|
|
<h5>@OrarendResource.FigyelemCsokkentettMod</h5>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container-fluid">
|
|
@(
|
|
Html.KretaGrid<TanulotTanitoTanarokGridModel>(
|
|
name: "TanulotTanitoTanarokGrid",
|
|
allowScrolling: true,
|
|
getUrl: new GridApiUrl("TanulotTanitoTanarokApi", "GetTanulotTanitoTanarGrid", new Dictionary<string, string> { }),
|
|
sort: sort => sort.Add(c => c.Tantargy).Ascending()
|
|
)
|
|
.Columns(columns =>
|
|
{
|
|
columns.Bound(c => c.Tantargy).Width("30%");
|
|
columns.Bound(c => c.Tanar);
|
|
})
|
|
.Sortable(sortable => sortable
|
|
.AllowUnsort(true)
|
|
.SortMode(GridSortMode.MultipleColumn))
|
|
.AutoBind(true)
|
|
)
|
|
</div>
|
|
|