From 00627b21a9a95212a581924d644907055761d69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Thu, 9 Oct 2025 00:18:13 +0300 Subject: [PATCH] =?UTF-8?q?ColumnOption=20ayarlar=C4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GridOptionsDto/GridColumnOptionDto.cs | 6 +- .../Seeds/PlatformBranchDataSeeder.cs | 10 - .../Seeds/PlatformListFormsSeeder.cs | 432 +++++++++++++++--- ui/src/views/admin/listForm/edit/FormEdit.tsx | 12 +- 4 files changed, 388 insertions(+), 72 deletions(-) diff --git a/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/GridColumnOptionDto.cs b/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/GridColumnOptionDto.cs index e74d805c..68ce43e4 100644 --- a/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/GridColumnOptionDto.cs +++ b/api/src/Kurs.Platform.Application.Contracts/ListForms/GridOptionsDto/GridColumnOptionDto.cs @@ -10,11 +10,11 @@ public class GridColumnOptionDto public bool RowAlternationEnabled { get; set; } = true; /// kullanicinin kolonlarin yerini degistirebilmesi /// - public bool AllowColumnReordering { get; set; } = false; + public bool AllowColumnReordering { get; set; } = true; public bool AllowColumnResizing { get; set; } = true; /// alabilecegi degerler: 'nextColumn', 'widget' /// - public string ColumnResizingMode { get; set; } = "nextColumn"; + public string ColumnResizingMode { get; set; } = "widget"; public bool ColumnAutoWidth { get; set; } = false; public bool RtlEnabled { get; set; } = false; @@ -29,7 +29,7 @@ public class GridColumnOptionDto /// satirin uzerine gelince satirin hafif renklendirilmesi /// public bool HoverStateEnabled { get; set; } = false; - public bool ColumnHidingEnabled { get; set; } = false; + public bool ColumnHidingEnabled { get; set; } = true; public bool FocusedRowEnabled { get; set; } = false; public bool ShowColumnHeaders { get; set; } = true; } diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformBranchDataSeeder.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformBranchDataSeeder.cs index 3f615fbc..3f6a125d 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformBranchDataSeeder.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformBranchDataSeeder.cs @@ -58,16 +58,6 @@ public class PlatformBranchDataSeeder : ITransientDependency _scheduleRepository = scheduleRepository; } - private static IConfigurationRoot BuildConfiguration() - { - var builder = new ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .AddJsonFile("appsettings.json") - .AddJsonFile($"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? ""}.json", true); - - return builder.Build(); - } - public async Task SeedAsync(DataSeedContext context) { var settings = await _settings.GetListAsync(); diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformListFormsSeeder.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformListFormsSeeder.cs index 9c7266c3..91a3538d 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformListFormsSeeder.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformListFormsSeeder.cs @@ -1360,6 +1360,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, ColumnChooserEnabled = true }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto @@ -2097,7 +2098,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -2837,7 +2842,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -3580,7 +3589,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -3807,7 +3820,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -4160,7 +4177,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -4381,7 +4402,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -4727,7 +4752,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -5087,7 +5116,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -5411,7 +5444,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -5936,7 +5973,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), DeleteCommand = $"UPDATE \"{Prefix.DbTableDefault}ListForm\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id", DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] { @@ -6827,7 +6868,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -7511,7 +7556,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -7778,7 +7827,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] { new() { @@ -8191,7 +8244,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -8620,7 +8677,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -8974,7 +9035,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -9243,7 +9308,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), CommandColumnJson = JsonSerializer.Serialize(new CommandColumnDto[] { new() { @@ -9657,7 +9726,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -9945,7 +10018,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -10288,7 +10365,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -10666,6 +10747,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -10967,6 +11053,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -11203,6 +11294,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -11442,6 +11538,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -11758,6 +11859,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -12117,6 +12223,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -12338,6 +12449,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -12560,6 +12676,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -13196,6 +13317,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -13529,6 +13655,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -14035,6 +14166,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -14386,6 +14522,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -14767,6 +14908,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -14996,6 +15142,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -15225,6 +15376,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -15545,6 +15701,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -15737,6 +15898,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -16093,6 +16259,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -16373,6 +16544,12 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -16719,6 +16896,12 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -16913,6 +17096,12 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -17126,7 +17315,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -17434,7 +17627,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -17664,6 +17861,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -17877,7 +18079,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -18214,7 +18420,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -18404,7 +18614,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -18593,7 +18807,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -18782,7 +19000,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -18999,7 +19221,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -19188,7 +19414,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -19377,7 +19607,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -19699,7 +19933,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -19919,7 +20157,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -20139,7 +20381,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -20375,7 +20621,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -20611,7 +20861,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -20848,7 +21102,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -21084,7 +21342,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -21274,7 +21536,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -21464,7 +21730,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -21700,7 +21970,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -22163,7 +22437,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -22634,7 +22912,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -22953,7 +23235,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -23462,7 +23748,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -23714,7 +24004,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -23999,7 +24293,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -24333,7 +24631,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -24618,7 +24920,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -25012,7 +25318,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -25395,7 +25705,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -26077,7 +26391,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -26402,7 +26720,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { @@ -26937,7 +27259,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc ColumnOptionJson = JsonSerializer.Serialize(new { ColumnFixingEnabled = true, - ColumnChooserEnabled = true + ColumnAutoWidth = true, + ColumnChooserEnabled = true, + AllowColumnResizing = true, + AllowColumnReordering = true, + ColumnResizingMode = "widget", }), PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto { diff --git a/ui/src/views/admin/listForm/edit/FormEdit.tsx b/ui/src/views/admin/listForm/edit/FormEdit.tsx index 501f7182..e8a16df6 100644 --- a/ui/src/views/admin/listForm/edit/FormEdit.tsx +++ b/ui/src/views/admin/listForm/edit/FormEdit.tsx @@ -205,6 +205,9 @@ const FormEdit = () => { {visibleTabs.includes('commands') && ( {translate('::ListForms.ListFormEdit.TabCommands')} )} + {visibleTabs.includes('columns') && ( + {translate('::ListForms.ListFormEdit.TabColumns')} + )} {visibleTabs.includes('edit') && ( {translate('::ListForms.ListFormEdit.TabEditing')} )} @@ -226,9 +229,6 @@ const FormEdit = () => { {visibleTabs.includes('select') && ( {translate('::ListForms.ListFormEdit.TabSelection')} )} - {visibleTabs.includes('columns') && ( - {translate('::ListForms.ListFormEdit.TabColumns')} - )} {visibleTabs.includes('pivots') && ( {translate('::ListForms.ListFormEdit.TabPivots')} )} @@ -325,6 +325,9 @@ const FormEdit = () => { + + + @@ -349,9 +352,6 @@ const FormEdit = () => { - - -