I'm looking for pagination, or something similar to that. I am pulling mongo docs into a menu and I'd like to also preview them but there are usually a lot of them and the search is great but I can already hear the users of the script saying that they want to be able to browse through them without scrolling forever and that they can only see x because of the preview window. Is there some way, or could there be a way that I can show a few and then with a key press show the next few, maybe also be able to go back to previous page, etc. I might be able to code it into the script myself but it seems difficult and time consuming and would probably result in a convoluted menu.
I'm looking for pagination, or something similar to that. I am pulling mongo docs into a menu and I'd like to also preview them but there are usually a lot of them and the search is great but I can already hear the users of the script saying that they want to be able to browse through them without scrolling forever and that they can only see x because of the preview window. Is there some way, or could there be a way that I can show a few and then with a key press show the next few, maybe also be able to go back to previous page, etc. I might be able to code it into the script myself but it seems difficult and time consuming and would probably result in a convoluted menu.