init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,30 @@
|
|||
@using Kreta.Web.Helpers.Grid
|
||||
@using Kreta.Web.Areas.Tanulo.Models
|
||||
@using Kreta.BusinessLogic.Classes
|
||||
@model TanuloModel
|
||||
|
||||
@{
|
||||
const string TanuloApiController = Constants.ApiControllers.KollegiumTanuloApi;
|
||||
}
|
||||
|
||||
<div class="container-fluid">
|
||||
@(
|
||||
Html.KretaGrid<TanuloFelmentesGridModel>(
|
||||
name: "FelmentesGrid",
|
||||
getUrl: new GridApiUrl(TanuloApiController, "GetFelmentesekGrid", new Dictionary<string, string> { { "Id", Model.TanuloId.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.TantargyNev);
|
||||
columns.Bound(c => c.Kezdete).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.Vege).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.OraMentesites_BNAME);
|
||||
columns.Bound(c => c.ErtekelesMentesites_BNAME);
|
||||
columns.Bound(c => c.SzovegesenErtekelheto_BNAME);
|
||||
columns.Bound(c => c.FelmentesOka);
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue