pub trait ModelExt: Model {
    fn row_data_tracked(&self, row: usize) -> Option<Self::Data> { ... }
Expand description

Extension trait with extra methods implemented on types that implements Model

Provided Methods

Convenience function that calls ModelTracker::track_row_data_changes before returning [Self::row_data].

Calling row_data(row) does not register the row as a dependency when calling it while evaluating a property binding. This function calls track_row_data_changes(row) on the self.model_tracker() to enable tracking.