init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
@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>
|
Loading…
Add table
Add a link
Reference in a new issue