Webiant Logo Webiant Logo
  1. No results found.

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

List.cshtml

@model SpecificationAttributeGroupSearchModel

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

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

@T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttributeGroup.Buttons.AddNew") @T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttribute.Buttons.AddNew") @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.SpecificationAttributeListButtons, additionalData = Model })

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

@await Html.PartialAsync("Table", new DataTablesModel { Name = "specificationattributegroups-grid", UrlRead = new DataUrl("SpecificationAttributeGroupList", "SpecificationAttribute", null), PrimaryKeyColumn = nameof(SpecificationAttributeGroupModel.Id), Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(null) { Render = new RenderChildCaret(), Width = "5", Searchable = false, ClassName = NopColumnClassDefaults.ChildControl }, new ColumnProperty(nameof(SpecificationAttributeGroupModel.Name)) { Title = T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttributeGroup.Fields.Name").Text, Render = new RenderCustom("renderColumnNameSpecificationAttributeGroup") }, new ColumnProperty(nameof(SpecificationAttributeGroupModel.DisplayOrder)) { Title = T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttributeGroup.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll } }, ChildTable = new DataTablesModel { Name = "specificationattributes-grid", UrlRead = new DataUrl("SpecificationAttributeList", "SpecificationAttribute", null), IsChildTable = true, Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(SpecificationAttributeModel.SpecificationAttributeGroupId), nameof(SpecificationAttributeGroupModel.Id), true) }, ColumnCollection = new List { new ColumnProperty(nameof(SpecificationAttributeModel.Id)) { IsMasterCheckBox = true, Render = new RenderCheckBox("checkbox_specificationattributes"), ClassName = NopColumnClassDefaults.CenterAll, Width = "50" }, new ColumnProperty(nameof(SpecificationAttributeModel.Name)) { Title = T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttribute.Fields.Name").Text, Width = "300" }, new ColumnProperty(nameof(SpecificationAttributeModel.DisplayOrder)) { Title = T("Admin.Catalog.Attributes.SpecificationAttributes.SpecificationAttribute.Fields.DisplayOrder").Text, Width = "150", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(SpecificationAttributeModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "50", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonEdit(new DataUrl("EditSpecificationAttribute")) } } } })