Webiant Logo Webiant Logo
  1. No results found.

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

Dimensions.cshtml

@model MeasureSearchModel

@await Html.PartialAsync("Table", new DataTablesModel { Name = "measuredimension-grid", UrlRead = new DataUrl("Dimensions", "Measure", null), UrlUpdate = new DataUrl("DimensionUpdate", "Measure", null), UrlDelete = new DataUrl("DimensionDelete", "Measure", null), SearchButtonId = "search-resources", Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(MeasureDimensionModel.Name)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.Name").Text, Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(MeasureDimensionModel.SystemKeyword)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.SystemKeyword").Text, Editable = true, EditType = EditType.String }, new ColumnProperty(nameof(MeasureDimensionModel.Ratio)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.Ratio").Text, Editable = true, EditType = EditType.Number }, new ColumnProperty(nameof(MeasureDimensionModel.DisplayOrder)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.DisplayOrder").Text, Width = "100", Editable = true, EditType = EditType.Number }, new ColumnProperty(nameof(MeasureDimensionModel.IsPrimaryDimension)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.IsPrimaryDimension").Text, Width = "100", ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderBoolean() }, new ColumnProperty(nameof(MeasureDimensionModel.Id)) { Title = T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.MarkAsPrimaryDimension").Text, ClassName = NopColumnClassDefaults.CenterAll, Render = new RenderButtonCustom(NopButtonClassDefaults.Olive, T("Admin.Configuration.Shipping.Measures.Dimensions.Fields.MarkAsPrimaryDimension").Text) { OnClickFunctionName = "markAsPrimaryDimension" } }, new ColumnProperty(nameof(MeasureDimensionModel.Id)) { Title = T("Admin.Common.Edit").Text, Width = "200", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonsInlineEdit() }, new ColumnProperty(nameof(MeasureDimensionModel.Id)) { Title = T("Admin.Common.Delete").Text, Width = "100", ClassName = NopColumnClassDefaults.Button, Render = new RenderButtonRemove(T("Admin.Common.Delete").Text) } } })
@T("Admin.Common.AddNewRecord")