init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,47 @@
|
|||
@using Kreta.BusinessLogic.Classes
|
||||
@using Kreta.Web.Helpers
|
||||
@using Kreta.Web.Helpers.Grid
|
||||
@using Kreta.Web.Areas.Tanar.Models
|
||||
@using Kreta.Web.Classes
|
||||
@using Kreta.Framework
|
||||
|
||||
@model TanarHelyettesitesekKereseseSearchModel
|
||||
@{
|
||||
Layout = "~/Views/Shared/_MasterLayout.cshtml";
|
||||
}
|
||||
|
||||
@section AddSearchPanel {
|
||||
@using (Html.SearchPanelSideBar("searchForm", "HelyettesitesGrid"))
|
||||
{
|
||||
@Html.KretaRangeDatePickerSideBar(model => model.IdoszakKezdete, model => Model.IdoszakVege)
|
||||
@Html.KretaComboBoxFor(model => model.HelyettesitettId, Model.AlkalmazottList).RenderSearchPanelSideBar()
|
||||
@*@Html.KretaComboBoxFor(model => model.HelyettesitoId, Model.AlkalmazottList).RenderSearchPanelSideBar()*@
|
||||
}
|
||||
}
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<TanarHelyettesitesekKereseseGridModel>
|
||||
(
|
||||
name: "HelyettesitesGrid",
|
||||
getUrl: new GridApiUrl("HelyettesitendoTanarOraiApi", "GetHelyettesitesGrid"),
|
||||
allowScrolling: true,
|
||||
dataParameterFunction: "searchForm"
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.ID).Width("10%").Hidden();
|
||||
columns.Bound(c => c.Datum).Width("10%").Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
|
||||
columns.Bound(c => c.Ora);
|
||||
columns.Bound(c => c.OsztalyCsoportNev);
|
||||
columns.Bound(c => c.TantargyNev);
|
||||
columns.Bound(c => c.OraSorszama).Width("10%");
|
||||
columns.Bound(c => c.TanitasiOraTemaja);
|
||||
columns.Bound(c => c.Helyettesites);
|
||||
columns.Bound(c => c.Megtartott_BNAME);
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue