Hi Jessica, What you could do is creating a non persistable (search) entity with a reference to the Category entity.
Pressing the button should create the search object and open a pop up page. Via a reference selector, you will be able to select a category. In this pop up page, you can add a button that has a similar logic as your Random selection, but you now include the selected category object in your query.
Hope this helps.
Absolutely love the idea of a game selection app. For the Tiranga Game, having a dedicated page to filter the datagrid would be a game-changer. Users could easily find their favourite colour prediction games, making it super convenient to dive into the action and start earning money online. Tiranga game register now, because this feature not only enhances user experience but also boosts engagement—let's make those winning predictions even easier to access. Don't miss out on this opportunity to elevate your gaming platform.