Skip to content
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

Support alternating row background #36

Open
reedes opened this issue Mar 6, 2022 · 1 comment
Open

Support alternating row background #36

reedes opened this issue Mar 6, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@reedes
Copy link
Contributor

reedes commented Mar 6, 2022

Much like Apple's Table component supports them.

@reedes reedes added the enhancement New feature or request label Mar 6, 2022
@reedes
Copy link
Contributor Author

reedes commented Mar 8, 2022

In Monterey and onward, Lists support this style with the following modifier:

TablerList(listConfig,
                           header: header,
                           row: row,
                           results: fruits)
    .listStyle(.inset(alternatesRowBackgrounds: true))

It'd be nice to support a similar effect for Stack and Grid based tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant