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