-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCGV: Request: Focus a specific row on opening the grid view #127
Comments
Groovy idea. So the |
@andschwa please prefix title with "OCGV: ". I really like this suggestion. I suggest it get implemented when I move OCGV to use Terminal.Gui's built in Table class. |
Hi @andschwa, @LarsFosdal I agree on the usefulness of incorporating a search function. The The Something to analyze is whether it would be convenient to add the Functionally, Kind regards, |
I concur. Good suggestions! |
I love this. |
Consider:
$L = Get-TineWMSLocation -StagingLive
$P = Get-TineWMSLocation -StagingPilot
$T = Get-TineWMSLocation -StagingTrunk
$List = @($L, $P, $T)
$sel = $List | Select-Object BuildName, GlobalLocationId, LocationName | Out-ConsoleGridView -OutputMode Single -Title "Select Build for synchronisation"
Coming to this code, I have a target which has buildname 'Pilot', i.e. the second of the options.
I would like to have that option preselected so that all the user has to do, is to press enter.
Suggestion - add an option to focus a row.
F.x. Out-ConsoleGridView -OutputMode Single -Focus 'Live'
-Focus could use the first column as "key"
This could also work for -OutputMode Multiple where it would focus the first list row where the first column matches the focus string.
The text was updated successfully, but these errors were encountered: