48 lines
No EOL
1.5 KiB
Text
48 lines
No EOL
1.5 KiB
Text
@using Kreta.Web.Areas.Hianyzas.Models.Mulasztasok
|
|
@using Kreta.Web.Helpers.Grid
|
|
@using Kreta.BusinessLogic.Classes
|
|
@using Kreta.Web.Helpers
|
|
@using Kreta.Web.Areas.Hianyzas.Models
|
|
|
|
@model MulasztasSearchModel
|
|
|
|
@{
|
|
var gridName = "MulasztasokDatumNezetGrid";
|
|
var searchFormName = "MulasztasokSearchForm";
|
|
}
|
|
|
|
<div>
|
|
@(
|
|
Html.KretaGrid<MulasztasokDatumNezetGridModel>(
|
|
gridName,
|
|
new GridApiUrl(Model.ApiControllerName, "GetMulasztasokDatumNezetGrid", new Dictionary<string, string>()),
|
|
dataParameterFunction: searchFormName,
|
|
clientTemplate: "detailGrid-template",
|
|
clientTemplateUrl: Url.Action("GetMulasztasokDatumNezetDetailGrid", Model.ControllerName, new { area = "Hianyzas" }),
|
|
clientTemplateWholeDataRow: true,
|
|
allowPaging: false,
|
|
pageSizes: null
|
|
)
|
|
.Sortable(sortable => sortable
|
|
.AllowUnsort(true)
|
|
.SortMode(GridSortMode.MultipleColumn))
|
|
.Columns(columns =>
|
|
{
|
|
columns.Bound(c => c.MulasztasDatuma).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
|
|
columns.Bound(c => c.MulasztasNapja).Width("30%");
|
|
columns.Bound(c => c.MulasztasokSzama).Width("30%");
|
|
})
|
|
)
|
|
</div>
|
|
|
|
@Html.KretaGridTemplate("detailGrid-template")
|
|
|
|
<script type="text/javascript">
|
|
|
|
var MulasztasokDatumNezetHelper = (function () {
|
|
var mulasztasokDatumNezetHelper = function () { };
|
|
|
|
return mulasztasokDatumNezetHelper;
|
|
})();
|
|
|
|
</script> |