List view doesn't rendering anything
See original GitHub issueI am using SharePoint Framework React controls’s list view to render the items from document library. I am able to get the items from library by selecting the list from dropdown. But While rendering the items, it is not showing any items in the view. But, when i click on item I am able to write data in that row in console. It is rendering like below: I am using ListView like below
<ListView
items={this.state.listData}
iconFieldName="ServerRelativeUrl"
compact={true}
selectionMode={SelectionMode.multiple}
selection={this._getSelection}
/>
[X] Question
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Django is not rendering ListView
The problem now is BlogList is not being rendered anymore, but we don't need BlogList anymore - we can create a queryset inside...
Read more >ListView is not rendering items correctly in NextJS #2511
The error can be reproduced with an empty nextjs project. Resizing the window will have the items reappear. Your Environment. Software ...
Read more >List view not rendering correctly until page resize
I've an odd problem when it comes to rendering a list of events. Theme is a child of Moesia Pro (from aThemes) and...
Read more >Native listview not rendering all objects
I have an issue with a native application. I have a list view that should show 47 items. I can scroll down the...
Read more >ListView.builder not rendering all elements
builder. When the listView is rebuild from list with bigger length than it was before(for example, it had 3 elements, now has 5),...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I have sorted out that issue. Thanks for the documentation update.
@ymihir did you update the
targetProperty
to the property in your web part. This was incorrectly documented and updated it: https://sharepoint.github.io/sp-dev-fx-property-controls/controls/PropertyFieldListPicker/So
lists
must be the same on line 1 (‘lists’) and 3 (this.properties.lists):If you copied it from the documentation, you would probably have
singleList
which is not correct.