Try your search with a different keyword or use * as a wildcard.
@model CustomerAttributeModel
@if (Model.Id > 0)
{
@await Html.PartialAsync("Table", new DataTablesModel
{
Name = "customerattributevalues-grid",
UrlRead = new DataUrl("ValueList", "CustomerAttribute", new RouteValueDictionary { [nameof(Model.CustomerAttributeValueSearchModel.CustomerAttributeId)] = Model.CustomerAttributeValueSearchModel.CustomerAttributeId }),
UrlDelete = new DataUrl("ValueDelete", "CustomerAttribute", null),
Length = Model.CustomerAttributeValueSearchModel.PageSize,
LengthMenu = Model.CustomerAttributeValueSearchModel.AvailablePageSizes,
ColumnCollection = new List
{
new ColumnProperty(nameof(CustomerAttributeValueModel.Name))
{
Title = T("Admin.Customers.CustomerAttributes.Values.Fields.Name").Text
},
new ColumnProperty(nameof(CustomerAttributeValueModel.IsPreSelected))
{
Title = T("Admin.Customers.CustomerAttributes.Values.Fields.IsPreSelected").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll,
Render = new RenderBoolean()
},
new ColumnProperty(nameof(CustomerAttributeValueModel.DisplayOrder))
{
Title = T("Admin.Customers.CustomerAttributes.Values.Fields.DisplayOrder").Text,
Width = "100",
ClassName = NopColumnClassDefaults.CenterAll
},
new ColumnProperty(nameof(CustomerAttributeValueModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "100",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderCustom("renderColumnEdit")
},
new ColumnProperty(nameof(CustomerAttributeValueModel.Id))
{
Title = T("Admin.Common.Delete").Text,
Width = "100",
Render = new RenderButtonRemove(T("Admin.Common.Delete").Text),
ClassName = NopColumnClassDefaults.Button
}
}
})
}
else
{
@T("Admin.Customers.CustomerAttributes.Values.SaveBeforeEdit")
}