This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,23 @@
@using Kreta.BusinessLogic.Classes
@using Kreta.Web.Helpers.Grid
@using Kreta.Web.Areas.Intezmeny.Models
<div class="k-content">
@(
Html.KretaGrid<NaptariHetGridModel>(
"NaptariHetGrid",
new GridApiUrl("TanevRendjeApi", "GetNaptariHetGrid"),
allowPaging: false,
allowSorting: false,
showSorszam: false
)
.Columns(columns =>
{
columns.Bound(c => c.HetSorszama).Width("10%");
columns.Bound(c => c.HetKezdoNapja).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
columns.Bound(c => c.HetUtolsoNapja).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
})
.DropDownForColumn(Html, 4252, Url.HttpRouteUrl(Constants.RouteKey.ActionApi, new { controller = "TanevRendjeApi", action = "GetHetirendList" }), c => c.Hetirend)
.Columns(columns => columns.Command(command => command.Custom("SetHetirendAfterCurrent").Text(StringResourcesUtils.GetString(4274)).Click("NaptariHetGridHelper.SetHetirendAfterCurrent")))
)
</div>