@using Kreta.Web.Areas.Adatszolgaltatasok.Models @using Kreta.Web.Helpers @using Kreta.Web.Helpers.Grid @using Kreta.Resources; @using Kreta.Web.Areas.Adatszolgaltatasok.Controllers @model IktSzandeknyilatkozatokModel @{ Layout = "~/Views/Shared/_MasterLayout.cshtml"; } @{ string gridName = IktSzandeknyilatkozatokController.GridName; } @{ var grid = Html.KretaGrid( gridName, new GridApiUrl("IktSzandeknyilatkozatokApi", "GetIktSzandeknyilatkozatokGrid", new Dictionary()), allowSorting: false, allowScrolling: true, allowPaging: false, mustShowPagerCount: false ) .Columns(columns => { columns.Bound(x => x.ID).Hidden(true); columns.Bound(x => x.NevElotagNelkul).SetDisplayProperty("Nev"); }) .SelectForColumn(Html.For(), "", x => x.IsElfogadottSzandeknyilatkozatSelect, Model.IsElfogadottSzandeknyilatkozatList) .FunctionCommand(Html, new List { new FunctionCommand {Name = CommonResource.Mentes, ClientAction = "IktSzandekNyiltkozatHelper.saveIktSzandeknyilatkozatok"}, new FunctionCommand {Name = CommonResource.DokumentumGeneralasa, ClientAction = "IktSzandekNyiltkozatHelper.dokumentumGeneralas"} }); }
@(grid)