Webiant Logo Webiant Logo
  1. No results found.

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

_CreateOrUpdate.Values.cshtml

@model VendorAttributeModel
@if (Model.Id > 0)
{
    
@await Html.PartialAsync("Table", new DataTablesModel { Name = "vendorattributevalues-grid", UrlRead = new DataUrl("ValueList", "VendorAttribute", new RouteValueDictionary { [nameof(Model.VendorAttributeValueSearchModel.VendorAttributeId)] = Model.VendorAttributeValueSearchModel.VendorAttributeId }), UrlDelete = new DataUrl("ValueDelete", "VendorAttribute", null), Length = Model.VendorAttributeValueSearchModel.PageSize, LengthMenu = Model.VendorAttributeValueSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(VendorAttributeValueModel.Name)) { Title = T("Admin.Vendors.VendorAttributes.Values.Fields.Name").Text }, new ColumnProperty(nameof(VendorAttributeValueModel.IsPreSelected)) { Title = T("Admin.Vendors.VendorAttributes.Values.Fields.IsPreSelected").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(VendorAttributeValueModel.DisplayOrder)) { Title = T("Admin.Vendors.VendorAttributes.Values.Fields.DisplayOrder").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll }, new ColumnProperty(nameof(VendorAttributeValueModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderCustom("renderColumnEdit") }, new ColumnProperty(nameof(VendorAttributeValueModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", Render = new RenderButtonRemove(T("Admin.Common.Delete").Text), ClassName = NopColumnClassDefaults.Button } } })
} else {
@T("Admin.Vendors.VendorAttributes.Values.SaveBeforeEdit")
}