Create a Custom Lightning Component

The purpose of this post is to create custom lightning component that displays a list of records.

First create two custom Objects.  We will be creating adding pagination component to see both records.

Student Custom Object1) Student Custom Object with two custom fields.  (You can create fields as you like)

Create multiple student records.



2) Create an apex class.

3) Create a lightning component “StudentComp”.

4) Create lightning Controller.

5) Create a lightning app.

Press “Preview” on the right side of lightning app.