Hi,
I am trying to use Shimmered DetailsList(Fluent UI control) in a SPFx webpart to show data from a SharePoint list so that all data does not load at one go. But, it is not showing any data in the grid as of now. When I am debugging through developer tools, it shows that list data is received well on the page but not working fine with Shimmered DetailsList for some reason.
Can anyone point me to some simple sample code for utilising Shimmered DetalsList in SPFx webpart?
My Code Snippet:
import { ShimmeredDetailsList } from 'office-ui-fabric-react/lib/ShimmeredDetailsList';
<ShimmeredDetailsList
setKey="this.state.items"
items={this.state.items}
selectionMode={SelectionMode.none}
enableShimmer={true}
ariaLabelForGrid="Item details"
/>