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
prabhu mohanprabhu mohan 

I need to show 'no records available' as a table results if I didn't receive any record

I need to show 'no records available' as a table results if I didn't receive any record
Maharajan CMaharajan C
Hi Prabhu,

Is it a lightning datatable or what table you are using. Need more inputs to help you. If possible post the code you already tried.

Thanks,
Maharajan.C
AnkaiahAnkaiah (Salesforce Developers) 
Hi Prabhu,

Refer the below link have solution for similar kind of ask.

https://salesforce.stackexchange.com/questions/339899/can-we-display-message-when-lightning-data-table-is-empty-in-lwc

If this helps, Please mark it as best answer.

Thanks!!