-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
ListView - Data structure for renderSectionHeader #955
Comments
I think the problem might be that you're mixing and matching. Can you try either doing an array of arrays, or an object of objects, instead of the array of objects that you have there? Here's the comment from ListViewDataSource:
|
If you want to keep your data structured the way it currently is (or if you can't get it working otherwise), you'll need to provide your own |
Let me know if this doesn't work for you. |
For anyone who runs across this issue with the same question I had it looks like there is another data format the extractor accepts now. Here is the list of accepted formats from the
|
I'm currently struggling to understand how to get the section headers working. My data structure is like so:
Where
data
is an array of objects.This just returns
s1
and the whole data set. How do I specify/break-up this data?I've tried looking at the examples, but I'm finding it hard to see what the structure is like.
The text was updated successfully, but these errors were encountered: