init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
@using Kreta.Web.Areas.Intezmeny.Models
|
||||
@using Kreta.Web.Helpers.Grid;
|
||||
@model TeremModel
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<TeremEszkozGridModel>
|
||||
(
|
||||
name: "EszkozGrid",
|
||||
getUrl: new GridApiUrl(Constants.ApiControllers.TeremApi, "GetTeremEszkozei", new Dictionary<string, string> { { "teremID", Model.TeremId.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.Nev);
|
||||
columns.Bound(c => c.TipusId_DNAME);
|
||||
columns.Bound(c => c.Darabszam).Width("10%");
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
||||
Reference in New Issue
Block a user