You need to sign in to do that
Don't have an account?

scrolling in lightning
Hello
I have requriment
I have list of data
I want to perform lazy loading with pagnation
Ex first time display 20record with scroll page
When i scroll loading more logo
And other 20show
In lighting
Without data table
Its urgent
I have requriment
I have list of data
I want to perform lazy loading with pagnation
Ex first time display 20record with scroll page
When i scroll loading more logo
And other 20show
In lighting
Without data table
Its urgent
In order to make your table scrollable you have to use the "slds-scrollable" in the tbody where you are showing the records in the table and to do it without datatable please consider the following example: Please go through the following links if you need more information about the scrollable class and table:
https://www.lightningdesignsystem.com/components/data-tables/
https://www.lightningdesignsystem.com/utilities/scrollable/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.
Actually i have table data more than 1000
first time data show 200 record then next time when scroll list load more data with scroll
ex facebook scroll load more option
For scrolling in lightning use bellow code, it may helpful for you.
Aura component:
<aura:component>
<ui:scrollerWrapper class="scrollerSize">
<!--Scrollable content here -->
</ui:scrollerWrapper>
</aura:component>
CSS file:
.THIS.scrollerSize {
height: 300px;
}
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi