Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

List.cshtml

@model ProductAttributeSearchModel

@{
    //page title
    ViewBag.PageTitle = T("Admin.Catalog.Attributes.ProductAttributes").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("Product attributes");
}


@T("Admin.Catalog.Attributes.ProductAttributes")

@T("Admin.Common.AddNew") @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ProductAttributeListButtons, additionalData = Model })

@T("Admin.Catalog.Attributes.ProductAttributes.Description")

@await Html.PartialAsync("Table", new DataTablesModel { Name = "products-grid", UrlRead = new DataUrl("List", "ProductAttribute", null), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(ProductAttributeModel.Id)) { IsMasterCheckBox = true, Render = new RenderCheckBox("checkbox_productattributes"), ClassName = NopColumnClassDefaults.CenterAll, Width = "50" }, new ColumnProperty(nameof(ProductAttributeModel.Name)) { Title = T("Admin.Catalog.Attributes.ProductAttributes.Fields.Name").Text }, new ColumnProperty(nameof(ProductAttributeModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("Edit")) } } })