init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
@using Kreta.BusinessLogic.Classes
|
||||
@using Kreta.Web.Helpers.Grid;
|
||||
@using Kreta.Web.Areas.Tantargy.Models
|
||||
@model TantargyModel
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<TantargyMegtartottTanoraiGridModel>
|
||||
(
|
||||
name: "TantargyMegtartottTanoraiGrid",
|
||||
getUrl: new GridApiUrl("TantargyakApi", "GetTantargyMegtartottTanoraiGrid", new Dictionary<string, string> { { "tantargyID", Model.ID.ToString() } })
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
@*columns.Bound(c => c.EvesSorszam).Width("10%");*@
|
||||
columns.Bound(c => c.OsztalyCsoport);
|
||||
columns.Bound(c => c.Tema);
|
||||
columns.Bound(c => c.Datum).Width("10%").Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
|
||||
columns.Bound(c => c.Oraszam).Width("10%");
|
||||
})
|
||||
.Sortable(sortable => sortable
|
||||
.AllowUnsort(true)
|
||||
.SortMode(GridSortMode.MultipleColumn))
|
||||
)
|
||||
</div>
|
||||
Reference in New Issue
Block a user