How Data Providers work
masterData providers manage how the table accesses its data.
- Local Data: Adding
#[table(impl_vec_data_provider)]to your struct automatically implements theTableDataProvidertrait forVec<T>, allowing you to pass a simple vector to therowsprop. - Async/Remote Data: For REST APIs or databases, you should implement one of the following traits:
TableDataProvider: For general data sources.PaginatedTableDataProvider: Specifically for data sources that support pagination (e.g., most REST APIs). This enables advanced features like async partial loading and caching.