@if (Model.SzerepkorViewType == Kreta.Enums.ManualEnums.SzerepkorViewTypeEnum.CsoportvezetoNezet)
{
@(
Html.KretaGrid(
kezeletlenNemTanoraiGridName,
new GridApiUrl(Model.ApiControllerName, "GetTanuloMulasztasaiGrid", new Dictionary{
{ "isTanorai", bool.FalseString },
{ "igazolandok", bool.TrueString }
}),
clientTemplate: "detailGrid-template",
clientTemplateUrl: Url.Action("TanuloKezeletlenMulasztasaiDetailGrid", controllerName, new { area = "Hianyzas", isTanorai = false, apiControllerName = Model.ApiControllerName }),
clientTemplateWholeDataRow: true,
allowSorting: false,
allowPaging: false,
pageSizes: null,
readDataFunction: "function(){ return { data: '" + Model.ToJson(true) + "' }; }"
)
.Columns(columns =>
{
columns.Bound(c => c.TanuloId).Hidden(true);
columns.Bound(c => c.MulasztasDatuma).Title(StringResourcesUtils.GetString(5630)).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
})
)
}
@(
Html.KretaGrid(
kezeletlenMulasztasokGridName,
new GridApiUrl(Model.ApiControllerName, "GetTanuloMulasztasaiGrid", new Dictionary{
{ "isTanorai", bool.TrueString },
{ "igazolandok", bool.TrueString }
}),
clientTemplate: "detailGrid-template",
clientTemplateUrl: Url.Action("TanuloKezeletlenMulasztasaiDetailGrid", controllerName, new { area = "Hianyzas", isTanorai = true, apiControllerName = Model.ApiControllerName }),
clientTemplateWholeDataRow: true,
allowSorting: false,
allowPaging: false,
pageSizes: null,
readDataFunction: "function(){ return { data: '" + Model.ToJson(true) + "' }; }"
)
.Columns(columns =>
{
columns.Bound(c => c.TanuloId).Hidden(true);
columns.Bound(c => c.MulasztasDatuma).Title(StringResourcesUtils.GetString(5630)).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
})
)
@if (Model.SzerepkorViewType == Kreta.Enums.ManualEnums.SzerepkorViewTypeEnum.CsoportvezetoNezet)
{
@(
Html.KretaGrid(
kezeltNemTanoraiGridName,
new GridApiUrl(Model.ApiControllerName, "GetTanuloMulasztasaiGrid", new Dictionary {
{ "isTanorai", bool.FalseString },
{ "igazolandok", false.ToString() }
}),
clientTemplate: "detailGrid-template",
clientTemplateUrl: Url.Action("TanuloKezeltMulasztasaiDetailGrid", controllerName, new { area = "Hianyzas", isTanorai = false, apiControllerName = Model.ApiControllerName }),
clientTemplateWholeDataRow: true,
allowSorting: false,
allowPaging: false,
pageSizes: null,
readDataFunction: "function(){ return { data: '" + Model.ToJson(true) + "' }; }"
)
.Columns(columns =>
{
columns.Bound(c => c.TanuloId).Hidden(true);
columns.Bound(c => c.MulasztasDatuma).Title(StringResourcesUtils.GetString(5631)).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
})
)
}
@(
Html.KretaGrid(
kezeltMulasztasokGridName,
new GridApiUrl(Model.ApiControllerName, "GetTanuloMulasztasaiGrid", new Dictionary {
{ "isTanorai", bool.TrueString },
{ "igazolandok", false.ToString() }
}),
clientTemplate: "detailGrid-template",
clientTemplateUrl: Url.Action("TanuloKezeltMulasztasaiDetailGrid", controllerName, new { area = "Hianyzas", isTanorai = true, apiControllerName = Model.ApiControllerName }),
clientTemplateWholeDataRow: true,
allowSorting: false,
allowPaging: false,
pageSizes: null,
readDataFunction: "function(){ return { data: '" + Model.ToJson(true) + "' }; }"
)
.Columns(columns =>
{
columns.Bound(c => c.TanuloId).Hidden(true);
columns.Bound(c => c.MulasztasDatuma).Title(StringResourcesUtils.GetString(5631)).Format(SDAFormat.Format[SDAFormat.FormatType.ShortDate]);
})
)