@using Kreta.Web.Helpers.Grid;
@using Kreta.Web.Areas.Tanulo.Models
@using Kreta.Resources;
@OrarendResource.CsokkentettJogosultsag
@OrarendResource.FigyelemCsokkentettMod
@(
Html.KretaGrid(
name: "TanulotTanitoTanarokGrid",
allowScrolling: true,
getUrl: new GridApiUrl("TanulotTanitoTanarokApi", "GetTanulotTanitoTanarGrid", new Dictionary { }),
sort: sort => sort.Add(c => c.Tantargy).Ascending()
)
.Columns(columns =>
{
columns.Bound(c => c.Tantargy).Width("30%");
columns.Bound(c => c.Tanar);
})
.Sortable(sortable => sortable
.AllowUnsort(true)
.SortMode(GridSortMode.MultipleColumn))
.AutoBind(true)
)