I have a Lightning component that contains a table of retrieved data. The user can sort or filter the data in the table. Note that the data is on the client side in a list of Javascript objects and is NOT retrieved from apex when the user filters or sorts the data.
It mostly works well, however, if there is a very large amount of data in the table, the screen freezes during the sorting or filtering processes.
I'd like to provide some visual cue to the user to indicate that it is processing, but all the solutions for spinners or changing the mouse cursor presume there is a server side operation occurring. My sorting and filtering is all happening on the client side in JavaScript (i.e. in the controller and helper).
Any suggestions on how to provide a visual cue to the user that processing is occurring for a purely client side operation?
Thanks, Mike