From the course: Interactive Dashboards with Plotly and Dash

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Conditional callbacks

Conditional callbacks

- [Instructor] All right, so let's go ahead and take a look at a few ways we can structure our Callback Functions to add additional functionality to our applications. And again, I've used the term advanced here. Some of you might not think these are very advanced, but that's how I've decided to categorize them because they are more than the basic Callbacks we've seen so far. That said, these are more conceptual differences between the Callbacks we've seen, but we'll be relying on the same functions, inputs and outputs. We're just going to structure our Callbacks a little bit differently. And so we'll look at Conditional Callbacks. These return different components to the front end based on some conditional logic. We'll look at Chain Callbacks, which modify the options of an interactive element based on the option selected in another. Cross-Filtering Callbacks, which filter figures in the app based on the data selected or hovered over in another figure. We also have Manual Callbacks…

Contents