Java tutorial: Listing entities in a data grid and configuring columns (part 6)

///Java tutorial: Listing entities in a data grid and configuring columns (part 6)

Java tutorial: Listing entities in a data grid and configuring columns (part 6)

FavoriteLoadingAdd to favorites

Retrieve data from your database and display it to your users in a grid. Learn how to implement this attractive UI layout option in your web app project.

Java468x60

Text version

Tutorial playlist:

source

By |2020-08-12T08:49:44+00:00August 12th, 2020|Java Video Tutorials|9 Comments

9 Comments

  1. GalaxB August 12, 2020 at 8:49 am - Reply

    Something you missed with this one, for the new company column we added. There is no sorting functionality like there is for all of the other columns. Quick fix for everyone is after the .setHeader("Company") insert .setSortable(true); So the entire function would be:

    grid.addColumn(contact -> {
    Company company = contact.getCompany();
    return company == null ? "-" : company.getName();
    }).setHeader("Company").setSortable(true);

  2. Muescha August 12, 2020 at 8:49 am - Reply

    i 50% when i run "build application" i get an Error: "Could not navigate to ''
    Reason: Couldn't find route for ''
    Available routes:
    This detailed message is only shown when running in development mode." 
    is there any solution for this?

  3. Muescha August 12, 2020 at 8:49 am - Reply

    where exactly was this info about the library reload?

  4. Rashvit Patel August 12, 2020 at 8:49 am - Reply

    Autowiring should be shown having issues on eclipse

  5. Rashvit Patel August 12, 2020 at 8:49 am - Reply

    I am getting nullpointer exception in updateList something related to autowiring of service please help me I am using eclipse

  6. Dmitry Voronov August 12, 2020 at 8:49 am - Reply

    Hi! How do I create a pagination in vaadin with datagrid? What should I add to the code?

  7. Juggernaut August 12, 2020 at 8:49 am - Reply

    This is amazing. Thank you very much, this is an amazing technology

  8. Jose Luis Romero August 12, 2020 at 8:49 am - Reply

    great tutorial, but could u fix the list (order) of videos, when I press next from this one it jumps to the #10, the #10 jumps to #5 and so on…

  9. Leidy Laura Martínez Arias August 12, 2020 at 8:49 am - Reply

    This is really helpful, thank you!

Leave A Comment

*