Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

UDTableColumn without a title #1610

Open
augiaugi opened this issue Apr 9, 2020 · 2 comments
Open

UDTableColumn without a title #1610

augiaugi opened this issue Apr 9, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@augiaugi
Copy link
Contributor

augiaugi commented Apr 9, 2020

I am trying to have an UDTableColumn without a title, but when I remove the optional -Title parameter the mandatory -Property comes in place.

 New-UDTableColumn -Property Delete -Title Action -Render { 
                $Item = ConvertFrom-Json $Body
                #delete button logic
            }

PS: as you can see in this example the parameter -Property doesnt make sense to be defined as it is a rendered property (calculated with some other object properties like ID ...).
I think it would make sense to have 2 ParameterSets for this command:

  1. normal columns
  • (mendatory) Property
  • (Optional) Title
  1. rendered columns
  • (Optional) Title
  • (mendatory) Render
@augiaugi augiaugi added the enhancement New feature or request label Apr 9, 2020
@adamdriscoll
Copy link
Member

This issue has been mentioned on Ironman Software Forums. There might be relevant details there:

https://forums.universaldashboard.io/t/udtablecolumn-without-a-title/2503/5

@augiaugi
Copy link
Contributor Author

augiaugi commented Apr 9, 2020

@adamdriscoll please assign the v3 label

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants