I try to use dynamic ProgressBar when save a list of data to database. After a record saved, the ProgressBar will increase percent.
Have any solutions?
Thanks
Hi Minh,
Please check out this link https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/numbers/progress_bar/
It shows how to use the progress bar.
Now as per your requirement, you can increment the value of progress bar after every database save call depending on number of records
Add Numbers\ProgressCircle block from UI Outsystems UI
drag and drop Block to the screen Create a Integer variable in the screen called "Percentage"pass the variable to the block for both text and progress
In your Saving Logic ,
You need to find total number of records to insert if total number of record = 100on foreach assign Percentage = Percentage +1