From 87f786ca3ce581cf79c90ffdc18e493297f12e4a Mon Sep 17 00:00:00 2001 From: David Moreira Date: Thu, 22 Feb 2024 13:26:13 +0000 Subject: [PATCH] Docs : ColumnChooser example remove columns --- .../Models/Snippets.generated.cs | 24 ------------------- .../DataGridColumnChooserExampleCode.html | 24 ------------------- .../DataGridColumnChooserExample.razor | 24 ------------------- 3 files changed, 72 deletions(-) diff --git a/Documentation/Blazorise.Docs/Models/Snippets.generated.cs b/Documentation/Blazorise.Docs/Models/Snippets.generated.cs index 9af33fdc5f..d7387b3c2d 100644 --- a/Documentation/Blazorise.Docs/Models/Snippets.generated.cs +++ b/Documentation/Blazorise.Docs/Models/Snippets.generated.cs @@ -6706,30 +6706,6 @@ protected override async Task OnInitializedAsync() PagerPosition=""DataGridPagerPosition.Top"" ShowPager ShowPageSizes> - - - - - - - - - @context.Caption - - - - - - - ((Gender)x).Code"" TextField=""(x) => ((Gender)x).Description"" /> - - - - - - - - @code { diff --git a/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Code/DataGridColumnChooserExampleCode.html b/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Code/DataGridColumnChooserExampleCode.html index 5578a90d14..0caef9db4e 100644 --- a/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Code/DataGridColumnChooserExampleCode.html +++ b/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Code/DataGridColumnChooserExampleCode.html @@ -7,30 +7,6 @@ PagerPosition="DataGridPagerPosition.Top" ShowPager ShowPageSizes> - <DataGridColumns> - <DataGridColumn TextAlignment="TextAlignment.Center" TItem="Employee" Field="@nameof( Employee.Id )" Caption="#" Width="60px" /> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.FirstName )" Caption="First Name"> - </DataGridColumn> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.LastName )" Caption="Last Name" /> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.Email )" Caption="Email" /> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.City )" Caption="City"> - <CaptionTemplate> - <Icon Name="IconName.City" /> @context.Caption - </CaptionTemplate> - </DataGridColumn> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.Zip )" Caption="Zip"> - </DataGridColumn> - <DataGridDateColumn TItem="Employee" Field="@nameof( Employee.DateOfBirth )" DisplayFormat="{0:dd.MM.yyyy}" Caption="Date Of Birth" Editable /> - <DataGridNumericColumn TItem="Employee" Field="@nameof( Employee.Childrens )" Caption="Childrens" ReverseSorting="true" Editable Filterable="false" /> - <DataGridSelectColumn TItem="Employee" Field="@nameof( Employee.Gender )" Caption="Gender" Editable Data="EmployeeData.Genders" ValueField="(x) => ((Gender)x).Code" TextField="(x) => ((Gender)x).Description" /> - <DataGridColumn TItem="Employee" Field="@nameof( Employee.Salary )" Caption="Salary" Editable Width="140px" DisplayFormat="{0:C}" DisplayFormatProvider="@System.Globalization.CultureInfo.GetCultureInfo("fr-FR")" TextAlignment="TextAlignment.End"> - </DataGridColumn> - <DataGridCheckColumn TItem="Employee" Field="@nameof(Employee.IsActive)" Caption="Active" Editable Filterable="false"> - <DisplayTemplate> - <Check TValue="bool" Checked="context.IsActive" Disabled ReadOnly /> - </DisplayTemplate> - </DataGridCheckColumn> - </DataGridColumns> </DataGrid>
diff --git a/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Examples/DataGridColumnChooserExample.razor b/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Examples/DataGridColumnChooserExample.razor
index e3b3e75fb4..0886a02cad 100644
--- a/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Examples/DataGridColumnChooserExample.razor
+++ b/Documentation/Blazorise.Docs/Pages/Docs/Extensions/DataGrid/Examples/DataGridColumnChooserExample.razor
@@ -7,30 +7,6 @@
           PagerPosition="DataGridPagerPosition.Top"
           ShowPager
           ShowPageSizes>
-    
-        
-        
-        
-        
-        
-        
-            
-                 @context.Caption
-            
-        
-        
-        
-        
-        
-        
-        
-        
-        
-            
-                
-            
-        
-    
 
 
 @code {