Try your search with a different keyword or use * as a wildcard.
@model TemplatesModel
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductTemplateListButtons, additionalData = Model })
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "templates-product-grid",
UrlRead = new DataUrl("ProductTemplates", "Template", null),
UrlUpdate = new DataUrl("ProductTemplateUpdate", "Template", null),
UrlDelete = new DataUrl("ProductTemplateDelete", "Template", null),
Length = Model.TemplatesProduct.PageSize,
LengthMenu = Model.TemplatesProduct.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(ProductTemplateModel.Name))
{
Title = T("Admin.System.Templates.Product.Name").Text,
Width = "300",
Editable = true,
EditType = EditType.String
},
new ColumnProperty(nameof(ProductTemplateModel.ViewPath))
{
Title = T("Admin.System.Templates.Product.ViewPath").Text,
Width = "300",
Editable = true,
EditType = EditType.String
},
new ColumnProperty(nameof(ProductTemplateModel.DisplayOrder))
{
Title = T("Admin.System.Templates.Product.DisplayOrder").Text,
Width = "100",
Editable = true,
EditType = EditType.Number
},
new ColumnProperty(nameof(ProductTemplateModel.IgnoredProductTypes))
{
Title = T("Admin.System.Templates.Product.IgnoredProductTypes").Text,
Width = "300",
Editable = true,
EditType = EditType.String
},
new ColumnProperty(nameof(ProductTemplateModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "200",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonsInlineEdit()
},
new ColumnProperty(nameof(ProductTemplateModel.Id))
{
Title = T("Admin.Common.Delete").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonRemove(T("Admin.Common.Delete").Text)
}
}
})
@T("Admin.Common.AddNewRecord")