Based on the documentation, the New-UDDataGridColumn command has a parameter -Hide to define a column but hide it initially. In the past, we used to define the data grid column with a Hashtable and tried to replace it with New-UDDataGridColumn. But in v4.2.12 the -Hide parameter does not exist.
I havent started using this component yet but I’m looking to do so… I’d also be interested to know, I looked through the cmdlet get-help -full and couldnt see an option either.
Forgot to mention I’m running a nightly so currently on 4.2.13 and there’s only -Hidable and -HideSortIcons, if you try to use -Hide it just complains about being ambiguous. Interestingly there’s no mention of any changes to New-UDDataGrid/Column in the changelog since 4.2.8