You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/treegrid/columns/column-chooser.md
+79Lines changed: 79 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,85 @@ public class TreeData
161
161
162
162
N> The column names in column chooser can be hidden by defining the [ShowInColumnChooser](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor~Syncfusion.Blazor.TreeGrid.SfTreeGrid~ShowInColumnChooser.html) property as false.
163
163
164
+
## Text wrapping in column chooser
165
+
166
+
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor TreeGrid includes a enhancement that improves readability within the column chooser dialog by allowing long column names to wrap across multiple lines. This behavior is enabled by setting the [`TreeGridColumnChooserSettings.AllowTextWrap`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_AllowTextWrap) property to **true**.
<TreeGridColumnField="Description"HeaderText="Description of Shipment"Width="160"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
179
+
<TreeGridColumnField="Origin"HeaderText="Origin Location of Shipment"Width="120"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
180
+
<TreeGridColumnField="Destination"HeaderText="Destination Location of Shipment"Width="120"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
181
+
<TreeGridColumnField="Weight"HeaderText="Total Weight of Shipment (lbs)"Width="120"TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
182
+
<TreeGridColumnField="DeliveryDate"HeaderText="Delivery Date for Shipment"Width="110"TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right"Format="MM/dd/yyyy"Type="Syncfusion.Blazor.Grids.ColumnType.Date"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
183
+
<TreeGridColumnField="Status"HeaderText="Current Status of Shipment"Width="120"ShowInColumnChooser="false"ClipMode="Syncfusion.Blazor.Grids.ClipMode.EllipsisWithTooltip"></TreeGridColumn>
184
+
</TreeGridColumns>
185
+
</SfTreeGrid>
186
+
187
+
@code {
188
+
private SfTreeGrid<Shipment> TreeGrid;
189
+
public string[] ToolbarItems = new string[] { "ColumnChooser" };
Template can be rendered in column chooser of tree grid by customizing the column chooser using **Template** and **FooterTemplate** of the [TreeGridColumnChooserSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.TreeGridColumnChooserSettings.html) Component.
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor TreeGrid filtering functionality can be configured to consider or ignore character casing. By default, filtering is not case-sensitive, meaning matches are found regardless of character case (e.g., "Task" and "task" are treated the same). Case-sensitive filtering is enabled by setting the [`TreeGridFilterSettings.EnableCaseSensitivity`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_EnableCaseSensitivity) property to **true**.
421
+
422
+
The following example demonstrates configuration of the `EnableCaseSensitivity` property within `TreeGridFilterSettings`:
The Syncfusion<supstyle="font-size:70%">®</sup> Blazor TreeGrid filtering functionality can be configured to ignore diacritic characters or accents. By default, filtering is accent-sensitive, requiring exact matches (e.g., "José" vs. "Jose"). Accent-insensitive filtering is enabled by setting the [`TreeGridFilterSettings.IgnoreAccent`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_IgnoreAccent) property to **true**.
542
+
543
+
The following example demonstrates configuration of the `IgnoreAccent` property within `TreeGridFilterSettings`:
0 commit comments