LWC datatable spinner while loading records
This post explains how to display a spinner while data is being loaded in
background as shown below
In order to achieve this salesforce already providedis-loading attribute which
shows loader when it is set to true but it has an UI glitch where users cant see
it properly or users