35 lines
No EOL
1.9 KiB
Text
35 lines
No EOL
1.9 KiB
Text
@using Kreta.BusinessLogic.Classes
|
|
@using Kreta.Web.Helpers.Grid;
|
|
@using Kreta.Web.Areas.Alkalmazott.Models
|
|
@using Kreta.Resources
|
|
|
|
@model AlkalmazottModel
|
|
|
|
<div class="container-fluid">
|
|
@(
|
|
Html.KretaGrid<AlkalmazottInfoModel.PedagogusEletpalyamodellModel>(
|
|
name: "PedagogusEletpalyamodellGrid",
|
|
getUrl: new GridApiUrl("AlkalmazottApi", "GetPedagogusEletpalyamodellGrid", new Dictionary<string, string> { { "Id", Model.AlkalmazottId.ToString() } })
|
|
)
|
|
.Columns(columns =>
|
|
{
|
|
columns.Bound(c => c.Fokozat_DNAME);
|
|
columns.Bound(c => c.Statusz_DNAME);
|
|
columns.Bound(c => c.Datum).Width("10%").Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
|
|
})
|
|
.RowFunction(Html, new List<RowFunction> {
|
|
new RowFunction { NameResourceId = 116 /*Módosítás*/, ClientAction = "PedagogusEletpalyamodellHelper.modifyPedagogusEletpalyamodell", IconEnum = Kreta.Enums.ManualEnums.GridRowFunctionIconEnum.Modositas },
|
|
new RowFunction { NameResourceId = 117 /*Törlés*/, ClientAction = "PedagogusEletpalyamodellHelper.deletePedagogusEletpalyamodellConfirmWindow", IconEnum = Kreta.Enums.ManualEnums.GridRowFunctionIconEnum.Torles }
|
|
})
|
|
.FunctionCommand(Html, new List<FunctionCommand> {
|
|
new FunctionCommand { NameResourceId = 2785 /*Új minősítés*/, ClientAction = string.Format("function(){{ PedagogusEletpalyamodellHelper.newPedagogusEletpalyamodell({0}); }}", Model.AlkalmazottId) },
|
|
new FunctionCommand { Name = ImportExportCommonResource.Export, ClientAction = "function() {PedagogusEletpalyamodellHelper.getExportPedagogusEletpalyamodell(" + Model.AlkalmazottId + "); }" }
|
|
})
|
|
.Sortable(sortable => sortable
|
|
.AllowUnsort(true)
|
|
.SortMode(GridSortMode.MultipleColumn))
|
|
)
|
|
@Html.KretaEmpty()
|
|
@Html.KretaEmpty()
|
|
@Html.KretaEmpty()
|
|
</div> |