init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
@using Kreta.Enums.ManualEnums
|
||||
@using Kreta.Resources
|
||||
@using Kreta.Web.Areas.OsztalyCsoport.Models
|
||||
@using Kreta.Web.Helpers.Grid
|
||||
|
||||
@model int
|
||||
|
||||
@{
|
||||
const string OraSorszamozasHalmazApiController = Constants.ApiControllers.OraSorszamozasHalmazApi;
|
||||
string gridName = "OraSorszamozasHalmazOsszerendelesGrid" + Model.ToString();
|
||||
}
|
||||
|
||||
<div>
|
||||
@(
|
||||
Html.KretaGrid<OraSorszamozasHalmazOsszerendelesGridModel>(
|
||||
gridName,
|
||||
getUrl: new GridApiUrl(OraSorszamozasHalmazApiController, "GetOsszerendelesGrid",
|
||||
new Dictionary<string, string>
|
||||
{
|
||||
{ "halmazId", Model.ToString() }
|
||||
})
|
||||
)
|
||||
.Columns(columns =>
|
||||
{
|
||||
columns.Bound(c => c.DetailOsztalyCsoport).Width("50%");
|
||||
columns.Bound(c => c.DetailTantargy).Width("50%");
|
||||
})
|
||||
.Sortable(sortable => sortable.AllowUnsort(true).SortMode(GridSortMode.MultipleColumn))
|
||||
.RowFunction(Html, new List<RowFunction>
|
||||
{
|
||||
new RowFunction
|
||||
{
|
||||
Name = CommonResource.Torles,
|
||||
ClientAction = "OraSorszamozasHalmazHelper.deleteOsszerendelesConfirm",
|
||||
IconEnum = GridRowFunctionIconEnum.Torles,
|
||||
},
|
||||
})
|
||||
)
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue