This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,31 @@
@using Kreta.Web.Areas.OsztalyCsoport.Models
@using Kreta.Web.Helpers.Grid;
@model AlapkepzesOsztalyModel
@{
const string OsztalyApiController = Constants.ApiControllers.OsztalyApi;
}
<div>
@(
Html.KretaGrid<TanmenetGridModel>
(
name: "OsztalyTanmeneteiGrid",
getUrl: new GridApiUrl(OsztalyApiController, "GetOsztalyTanmenetei", new Dictionary<string, string> { { "osztalyID", Model.ID.ToString() } }),
allowExcelExport: true,
popupExport: true,
excelExportFileName: string.Format("{0}_OsztalyTanmeneteiExport", Model.OsztalyNev)
)
.Columns(columns =>
{
columns.Bound(c => c.Tanar).Width("25%");
columns.Bound(c => c.Tantargy).Width("25%");
columns.Bound(c => c.Ora).Width("25%");
columns.Bound(c => c.Tema).Width("25%").Sortable(false);
})
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
)
</div>