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.KollegiumTanuloApi;
|
||||
}
|
||||
|
||||
<div class="container-fluid">
|
||||
@(
|
||||
Html.KretaGrid<ElozmenyekModel>(
|
||||
name: "ElozmenyekGrid",
|
||||
getUrl: new GridApiUrl(TanuloApiController, "GetElozmenyekGrid", new Dictionary<string, string> { { "Id", Model.TanuloId.ToString() } }),
|
||||
allowExcelExport: true,
|
||||
popupExport: true,
|
||||
excelExportFileName: string.Format("{0}_ElozmenyekExport", Model.SzemelyesAdatokModel.TeljesExportNev)
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.Tanev).Width("10%");
|
||||
columns.Bound(c => c.OsztalyCsoport);
|
||||
columns.Bound(c => c.BelepesDatuma).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.KilepesDatuma).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]).Width("10%");
|
||||
columns.Bound(c => c.Zaradek);
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue