init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@using Kreta.Web.Helpers.Grid
|
||||
@using Kreta.Web.Areas.Hianyzas.Models
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<TantargyiMulasztasGridModel>
|
||||
(
|
||||
"TantargyiMulasztasGrid",
|
||||
new GridApiUrl("TantargyiMulasztasApi", "GetTantargyiMulasztasGrid"),
|
||||
allowScrolling: true
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(m => m.Tantargy);
|
||||
columns.Bound(m => m.Mulasztas);
|
||||
columns.Bound(m => m.Osszes).Width("10%");
|
||||
columns.Bound(m => m.Szazalek).Width("10%");
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
Reference in New Issue
Block a user