31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
@using Kreta.Web.Helpers.Grid;
|
|
@using Kreta.Web.Areas.Tanulo.Models;
|
|
@model int?
|
|
|
|
@{
|
|
const string TanuloApiController = Constants.ApiControllers.AmiTanuloApi;
|
|
}
|
|
|
|
<div id="partialDetailGrid_@Model.ToString()">
|
|
@(
|
|
Html.KretaGrid<GondviseloCimModel>(
|
|
name: "Info_GondviselokCimGrid_" + Model.ToString(),
|
|
getUrl: new GridApiUrl(TanuloApiController, "GetGondviselokCimDetailGrid", new Dictionary<string, string> { { "Id", Model.ToString() } }),
|
|
useToolBar: false
|
|
)
|
|
.Columns(columns =>
|
|
{
|
|
columns.Bound(c => c.Iranyitoszam).Width("10%");
|
|
columns.Bound(c => c.HelysegNev);
|
|
columns.Bound(c => c.KozteruletNev);
|
|
columns.Bound(c => c.KozteruletTipusNev);
|
|
columns.Bound(c => c.HazSzam).Width("10%");
|
|
columns.Bound(c => c.Emelet).Width("10%");
|
|
columns.Bound(c => c.Ajto).Width("10%");
|
|
columns.Bound(c => c.CimTipus_DNAME);
|
|
})
|
|
.Sortable(sortable => sortable
|
|
.AllowUnsort(true)
|
|
.SortMode(GridSortMode.MultipleColumn))
|
|
)
|
|
</div>
|