Hi Javier Lamas Collejo,
Query: When I change the
state of column by Column Chooser button all work fine but if I deselect all
column the button "Ok" in Column Chooser Menu still enable
We prepared a
sample based on the information you provided, but we were unable to replicate
the issue at our end.
Please refer to
the below sample,
https://www.syncfusion.com/downloads/support/directtrac/general/ze/COLUMN~1449142310
Please refer to the below screenshot,

We suspect that you have disabled a column from
showing in column chooser by setting ShowInColumnChooser as false. So, the ok
button in column chooser is not disabled. The ok button will be disabled only
when the Grid has no visible columns.
|
<SfTreeGrid DataSource="@TreeGridData" ShowColumnChooser="true" Toolbar=@ToolbarItems>
<TreeGridColumns>
<TreeGridColumn Field="TaskId" HeaderText="Task
ID" Width="80" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right"></TreeGridColumn>
<TreeGridColumn Field="TaskName" HeaderText="Task
Name" Width="90" Visible="false" ShowInColumnChooser="false"></TreeGridColumn>
<TreeGridColumn Field="StartDate" HeaderText="
Start Date" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right" Format="yMd" Type="Syncfusion.Blazor.Grids.ColumnType.Date" Width="90"></TreeGridColumn>
<TreeGridColumn Field="Duration" HeaderText="Duration" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right" Width="80"></TreeGridColumn>
<TreeGridColumn Field="Progress" HeaderText="Progress" TextAlign="Syncfusion.Blazor.Grids.TextAlign.Right" Width="80"></TreeGridColumn>
</TreeGridColumns>
</SfTreeGrid>
|
Here we have set the column visibility to false. Now no
column will be displayed in TreeGrid when we choose select all checkbox in the
column chooser. So, ok button will be in disabled state.
So, we need some more additional information to find the
cause of the issue. We request you to share us the following details for
validation.
- Complete
treegrid code example.
- The
package version details you are using.
- Video
demo / screenshot of the issue.
- If
possible, please try to reproduce the issue in the sample provided or
share a reproducible sample.
The requested information will be helpful to proceed
further.
Regards,
Pon selva
If this post is helpful, please consider
Accepting it as the solution so that other members can locate it more quickly.