Skip to content

Table column hiding in email #509

@WizADSL

Description

@WizADSL

I am creating a table as part of an email. I know PSWriteHTML has limitations when used in an email context but this sounds like something that is either already possible (and I can't figure out how to do it) or it should be something that could be added. I have a column in my data that I am using for formatting the table (using New-TableCondition) however, I don't want that column in my final output. I tried using the -ExcludeProperty option from New-HTMLTable but that does removes to column before New-TableCondition evaluates so my formatting disappears. I thought New-TableColumnOption with its -Hidden attribute might work but that only works in DT/JS and not in email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions