You can change the table row background color, depending on a dynamic value from your database thanks to the dynamic attributes available in Wappler. In this tutorial we will show you how to use the default background color classes available in Bootstrap 4, but you can assign your own classes to the table rows.
We created a dynamic table, which shows the data from our database. We want to use a red background when the quantity from the database is less than 50:
You can see the changes in design view immediately. You can add as many class toggles and conditions as you need. For example we added the table-success class for the rows with quantity greater or equal to 50:
Could you go into detail of how to set the datetime variable in the first place please? I also need to show or hide things depending on whether they are before or after today. Thanks )
The date and time component works as any other component in App Connect.
Just add it in the app structure and then it becomes available in the date picker.