Replies: 2 comments
-
|
Can you show how you tried to use it? My guess is outside the RAC Column, based on what you're trying to accomplish. You can use it inside the Column. This is a limitation of the Collection APIs #8831 (comment) To support something like this, you might be able to use a custom renderer https://web.archive.org/web/20250710230918/https://react-spectrum.adobe.com/react-aria/collections.html#advanced-custom-collection-renderers |
Beta Was this translation helpful? Give feedback.
-
|
@lixiaoyan I am running into the same issue with trying to access the The other solution that comes to mind is to wrap the table in a custom context, read the collection from inside |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried
useContext(TableStateContext)but no luck.I'd want to use the
state.collection.columnCountto implement something likecolSpan="full".Beta Was this translation helpful? Give feedback.
All reactions