posibles fiexes
This commit is contained in:
@@ -682,6 +682,7 @@ class _GestorVideosPageState extends State<GestorVideosPage> {
|
||||
];
|
||||
|
||||
return PlutoGrid(
|
||||
key: ValueKey('pluto_grid_${provider.gridRebuildKey}'),
|
||||
columns: columns,
|
||||
rows: provider.videosRows,
|
||||
onLoaded: (PlutoGridOnLoadedEvent event) {
|
||||
@@ -690,6 +691,8 @@ class _GestorVideosPageState extends State<GestorVideosPage> {
|
||||
// Configurar paginación dinámica según resolución
|
||||
final pageSize = _calculatePageSize(context);
|
||||
_stateManager!.setPageSize(pageSize, notify: true);
|
||||
// Conectar stateManager al provider para actualizaciones directas
|
||||
provider.stateManager = _stateManager;
|
||||
},
|
||||
createFooter: (stateManager) {
|
||||
return PlutoPagination(stateManager);
|
||||
|
||||
Reference in New Issue
Block a user