Closed reedes closed 2 years ago
A couple reasons:
1- No longer ties header/row wrapping to LazyVGrid. You can use HStack or other wrapper for fields in your row.
2- No more @ViewBuilder wrappers needed in declaring header/rows.
3- Capability to attach row-level modifiers to your header/row. (e.g. context menu, etc.)
README example will be reflected to show this change.
Note that the experimental Grid-based tables will continue to be unwrapped and require the @ViewBuilder wrapper. More on that as the design settles.
A couple reasons:
1- No longer ties header/row wrapping to LazyVGrid. You can use HStack or other wrapper for fields in your row.
2- No more @ViewBuilder wrappers needed in declaring header/rows.
3- Capability to attach row-level modifiers to your header/row. (e.g. context menu, etc.)
README example will be reflected to show this change.
Note that the experimental Grid-based tables will continue to be unwrapped and require the @ViewBuilder wrapper. More on that as the design settles.