[Blazor components] How to get datagrid columns and pass to another component?

Hi,
I want create component to manage visibility of columns in data grid.
What is the best way? Do I think I should pass the _datagrig.Columns object?
if so what is the best way?

You can use ColumnsCollection property.

1 Like

It's works! Thank You