Error when RadzenDataGridColumn Visible="false" && Pickable="true". Nothing renders anymore. #330

Open
opened 2026-01-29 17:35:30 +00:00 by claunia · 0 comments
Owner

Originally created by @DLozanoNavas on GitHub (Feb 21, 2022).

I've just noticed an error when RadzenDataGridColumn Visible="false" && Pickable="true". Nothing renders anymore.

                        <RadzenDataGrid TItem="Item"
                                        @ref="itemsGrid"
                                        Data="@(Models)"
                                        Responsive="true"
                                        AllowPaging="true"
                                        AllowSorting="true"
                                        Style="height:1080px"
                                        AllowGrouping="true"
                                        AllowFiltering="true"
                                        PageSize="Models.Count"
                                        AllowColumnResize="true"
                                        RowUpdate="@OnUpdateRow"
                                        AllowColumnPicking="true"
                                        AllowColumnReorder="true"
                                        AllowVirtualization="true"
                                        @bind-Value="SelectedItems"
                                        AllowMultiColumnSorting="true"
                                        FilterMode="FilterMode.Simple"
                                        AllowCompositeDataCells="true"
                                        AllowRowSelectOnRowClick="false"
                                        EditMode="DataGridEditMode.Single"
                                        PagerPosition="PagerPosition.TopAndBottom"
                                        SelectionMode="DataGridSelectionMode.Multiple" 
                                        FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive"
                                        >

                                <!-- PublishedDate -->
                                <RadzenDataGridColumn 
                                    TItem="Item"
                                    Pickable="true" 
                                    Visible="false" 
                                    Sortable="false"
                                    Groupable="false"
                                    Resizable="false"
                                    Filterable="false" 
                                    Reorderable="false"
                                      
                                    Title="Published Date"
                                    Property="PublishedDate" 
                                >
                                    <Template Context="data">
                                        @data.PublishedDate 
                                    </Template>
                                </RadzenDataGridColumn>
                         </RadzenDataGrid>

This fragment reproduces the error.

Originally created by @DLozanoNavas on GitHub (Feb 21, 2022). I've just noticed an error when RadzenDataGridColumn Visible="false" && Pickable="true". Nothing renders anymore. ``` <RadzenDataGrid TItem="Item" @ref="itemsGrid" Data="@(Models)" Responsive="true" AllowPaging="true" AllowSorting="true" Style="height:1080px" AllowGrouping="true" AllowFiltering="true" PageSize="Models.Count" AllowColumnResize="true" RowUpdate="@OnUpdateRow" AllowColumnPicking="true" AllowColumnReorder="true" AllowVirtualization="true" @bind-Value="SelectedItems" AllowMultiColumnSorting="true" FilterMode="FilterMode.Simple" AllowCompositeDataCells="true" AllowRowSelectOnRowClick="false" EditMode="DataGridEditMode.Single" PagerPosition="PagerPosition.TopAndBottom" SelectionMode="DataGridSelectionMode.Multiple" FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" > <!-- PublishedDate --> <RadzenDataGridColumn TItem="Item" Pickable="true" Visible="false" Sortable="false" Groupable="false" Resizable="false" Filterable="false" Reorderable="false" Title="Published Date" Property="PublishedDate" > <Template Context="data"> @data.PublishedDate </Template> </RadzenDataGridColumn> </RadzenDataGrid> ``` This fragment reproduces the error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#330