Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Indeterminate mode for ProgressBarRenderer?
Hi,
for the ProgressBar there is the "Indeterminate mode" (https://vaadin.com/docs/-/part/framework/components/components-progressbar.html#components.progressbar.indeterminate), that changes the bar into a circle.
Is there something similiar for the ProgressBarRenderer, that allows to show progress in grid cells?
Regards,
Stefan
What is your use case? I presume not just displaying a spinning circle on each Grid row, though you can do that with ImageRenderer. Are there some rows that have a defined progress and some rows where it's indeterminate?
It is some kind of fallback, that would show just a spinning circle, if there is no progress data available. So basically the same use case as for the indeterminate mode of ProgressBar. :)
Ah, all right. Currently ProgressBarRenderer defaults to displaying a disabled progress bar on null data. However, you could fairly easily customize the widgetset, adding your own implementation of com.vaadin.client.renderers.ProgressBarRenderer - you'd only need to replace the setEnabled calls with appropriate setIndeterminate calls.