init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,48 @@
|
|||
@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>
|
Loading…
Add table
Add a link
Reference in a new issue