I have large data, so I want to show loading...
.
I use aldeed:tabular
;
Couldn’t you use a custom publication and then just use the template callbacks to watch it? If you want to load the table and show a message within the body I’d imagine you could append the data using jquery and wait for the subscription? I’ve had to do this with my most recent project and ultimately just used a toast message to indicating loading. I’m just throwing out guesses here. I ultimately ended up just hiding the table until my subscription was ready.
Could example for me?
I use Flow Router
.
I try to use pub/sub
and check sub is ready
on the tabular template
.
But I have one problem with I pub/sub for all records, it is differance tabular that get 10 records by pre/next