kreta/KretaWeb/Areas/DualisKepzes/Views/DualisKepzohely/Dualis_Tantargyak_Tab.cshtml
2024-03-13 00:33:46 +01:00

26 lines
No EOL
682 B
Text

@using Kreta.Web.Areas.DualisKepzes.Models
@using Kreta.Web.Helpers
@using Kreta.Web.Helpers.Grid
@using Kreta.Resources
@model DualisKepzohelyModel
<div class="container-fluid">
<h4>@DualisResource.TabTantargyak</h4>
@(
Html.KretaGrid<DualisTantargyGridModel>(
name: "DualisTantargyGrid",
getUrl: new GridApiUrl(Constants.ApiControllers.DualisKepzohelyApi, "GetDualisTantargyGrid", new Dictionary<string, string> { { "Id", Model.ID.Value.ToString() } })
)
.Columns(columns =>
{
columns.Bound(c => c.Nev);
})
.AutoBind(true)
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
)
<br />
</div>