From bea42a9d2468648a53c9b40daa6030365c8033bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sch=C3=B6ne?= Date: Wed, 10 Apr 2024 09:44:45 +0200 Subject: [PATCH] #747 change column key to camelCase --- .../Areas/DDM/Controllers/Api/DataTableController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Console/BExIS.Web.Shell/Areas/DDM/Controllers/Api/DataTableController.cs b/Console/BExIS.Web.Shell/Areas/DDM/Controllers/Api/DataTableController.cs index edafda21d0..92ccdbf796 100644 --- a/Console/BExIS.Web.Shell/Areas/DDM/Controllers/Api/DataTableController.cs +++ b/Console/BExIS.Web.Shell/Areas/DDM/Controllers/Api/DataTableController.cs @@ -31,6 +31,7 @@ using System.Web.Http.ModelBinding; using System.Web.UI.WebControls; using Telerik.Web.Mvc; +using Telerik.Web.Mvc.Extensions; namespace BExIS.Modules.Ddm.UI.Controllers { @@ -258,7 +259,7 @@ private List getColumns(StructuredDataStructure datastrutcure) { DataTableColumn column = new DataTableColumn(); column.Column = variable.Label; - column.Key = variable.Label.ToLower(); + column.Key = variable.Label.ToCamelCase(); // set display Pattern if (variable.DisplayPatternId > 0)