Data grid - Custom Column Picker


My intention is to create my own column picker in a different place. However, I have encountered an issue. I have access to ColumnCollection and can change the property Pickable on DataGrid. However, I am not able to update "allColumns":

internal List<RadzenDataGridColumn<TItem>> allColumns = new List<RadzenDataGridColumn<TItem>>();

I was looking for a way to use SaveSettings(), but this method is also internal. I want to ensure other functionalities like ColumnReorder, so I have to update the allColumns collection on the grid.

Is there a way to achieve this result?
Is my idea feasible?
I would be grateful for any advice.

Maybe it will be better to use public column properties of your DataGrid columns declared in the markup.