init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,54 @@
|
|||
@using Kreta.Web.Areas.ImportExport.Controllers
|
||||
@using Kreta.Web.Areas.ImportExport.Models.CommonModels
|
||||
@using Newtonsoft.Json
|
||||
|
||||
@model ImportInfoSummaryListModel
|
||||
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
@{
|
||||
var gridName = BaseImportExportController.OsszefoglalasGridName;
|
||||
}
|
||||
|
||||
<div id="@gridName"></div>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var gridColumns = [
|
||||
{
|
||||
field: "ImportName",
|
||||
title: "@ImportExportCommonResource.Import"
|
||||
}, {
|
||||
field: "InsertRowCount",
|
||||
title: "@ImportExportCommonResource.ImportItemOperationEnumInsert"
|
||||
}, {
|
||||
field: "UpdateRowCount",
|
||||
title: "@ImportExportCommonResource.ImportItemOperationEnumUpdate"
|
||||
}, {
|
||||
field: "DeleteRowCount",
|
||||
title: "@ImportExportCommonResource.ImportItemOperationEnumDelete"
|
||||
}, {
|
||||
field: "UnchangedRowCount",
|
||||
title: "@ImportExportCommonResource.ImportItemOperationEnumDefault"
|
||||
}, {
|
||||
field: "InvalidRowCount",
|
||||
title: "@ImportExportCommonResource.ImportItemOperationEnumInvalid"
|
||||
}
|
||||
];
|
||||
|
||||
var gridDataSoure = {
|
||||
dataType: "json",
|
||||
data: @(Html.Raw(JsonConvert.SerializeObject(Model.ImportInfoSummaryModelList, Formatting.Indented)))
|
||||
};
|
||||
|
||||
$("#" + "@gridName").kendoGrid({
|
||||
columns: gridColumns,
|
||||
dataSource: gridDataSoure,
|
||||
sortable: true,
|
||||
scrollable: false,
|
||||
height: 675
|
||||
});
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue