function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deepak Singh 116Deepak Singh 116 

How to show no item to display in lightning Datatable

Hi Experts ,
I want to show  "no item to display" in lightning Datatable when there is no data returns from controller.

 
ShirishaShirisha (Salesforce Developers) 

Hi Deepak,

Greetings!

Can you please check the below thread for the references on how you can display the text,if there are no records:

https://github.com/salesforce/design-system-react/issues/365

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri