23rd September
Woo! Thanks to Dinocanid I now know about the existence of the DataTables plugin, and it makes the searches amazing.
(just took the opportunity to update them all to the newest genes etc.
This is only the main member/item/griff search - sadly it won't work with the flock/stud/group/trade searches as they use divs rather than a table.)
It's still all JS on the client side, so not real pagination... if you search something vague and there are 500 griff results, it'll take several seconds to get them all, and be hard on the server, boo... would love to copy Howrse and grab a bunch at a time, but idk how yet.
![[Image: datatablewoo_by_bronzehalo-dcnliku.png]](https://orig00.deviantart.net/088a/f/2018/266/f/b/datatablewoo_by_bronzehalo-dcnliku.png)
Also continuing the mineral items... zzz... cleaned up the item table of old columns no longer used, and added a few dozen more gems plus images. Still barely started. Ahhh
24th September
WOOOOOO FUCK YES. I managed the proper pagination.
Really smooth, plus tells user the number of griffs currently shown, like "page 6, showing 26-30 out of 57 total griffs". Heck yeah, details.
Now trying to add it to non-AJAX-generated lists, like the default bunches of griffs that are loaded on Flock pages...
... and done. Very satisfied.
Now I just have the horrible task of repeating this complicated bunch o' code snippets all over the site, when any things are listed.
... ohhh man, 12+ of these inventory tabs... aaargh. Maybe I just won't bother there. They can have 'fake pagination' where everything's loaded and JS just gives the impression of cycling between bunches of them.
Woo! Thanks to Dinocanid I now know about the existence of the DataTables plugin, and it makes the searches amazing.
(just took the opportunity to update them all to the newest genes etc.
This is only the main member/item/griff search - sadly it won't work with the flock/stud/group/trade searches as they use divs rather than a table.)
It's still all JS on the client side, so not real pagination... if you search something vague and there are 500 griff results, it'll take several seconds to get them all, and be hard on the server, boo... would love to copy Howrse and grab a bunch at a time, but idk how yet.
![[Image: datatablewoo_by_bronzehalo-dcnliku.png]](https://orig00.deviantart.net/088a/f/2018/266/f/b/datatablewoo_by_bronzehalo-dcnliku.png)
Also continuing the mineral items... zzz... cleaned up the item table of old columns no longer used, and added a few dozen more gems plus images. Still barely started. Ahhh
24th September
WOOOOOO FUCK YES. I managed the proper pagination.

Really smooth, plus tells user the number of griffs currently shown, like "page 6, showing 26-30 out of 57 total griffs". Heck yeah, details.
Now trying to add it to non-AJAX-generated lists, like the default bunches of griffs that are loaded on Flock pages...
... and done. Very satisfied.
Now I just have the horrible task of repeating this complicated bunch o' code snippets all over the site, when any things are listed.
... ohhh man, 12+ of these inventory tabs... aaargh. Maybe I just won't bother there. They can have 'fake pagination' where everything's loaded and JS just gives the impression of cycling between bunches of them.

