@using Kreta.BusinessLogic.Classes @using Kreta.Web.Helpers.Grid; @using Kreta.Web.Areas.Alkalmazott.Models @using Kreta.Resources @model AlkalmazottModel
@( Html.KretaGrid( name: "PedagogusEletpalyamodellGrid", getUrl: new GridApiUrl("AlkalmazottApi", "GetPedagogusEletpalyamodellGrid", new Dictionary { { "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 { 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 { 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()