init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
@using Kreta.Web.Helpers.Grid;
|
||||
@using Kreta.Web.Areas.Tanulo.Models
|
||||
@using Kreta.BusinessLogic.Classes
|
||||
@model TanuloDetailModel
|
||||
|
||||
@{
|
||||
const string TanuloApiController = Constants.ApiControllers.AmiTanuloApi;
|
||||
}
|
||||
|
||||
<div class="container-fluid">
|
||||
@(
|
||||
Html.KretaGrid<ErtekelesModel>(
|
||||
"ErtekelesGrid",
|
||||
new GridApiUrl(TanuloApiController, "GetErtekelesekGrid", new Dictionary<string, string> { { "Id", Model.TanuloId.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.Tantargy);
|
||||
columns.Bound(c => c.ErtekelesDatuma).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.Tema);
|
||||
columns.Bound(c => c.Erdemjegy_DNAME).Width("10%");
|
||||
columns.Bound(c => c.ErtekelesSzoveg).Width("15%").SetDisplayPropertyWithToolip("ErtekelesSzoveg");
|
||||
columns.Bound(c => c.ErtekelesModja_DNAME);
|
||||
columns.Bound(c => c.OsztalyCsoport);
|
||||
columns.Bound(c => c.Pedagogus);
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue