Skip to content

[react-mui-hooks] useDataGrid onPage function return type #232

@DorijanH

Description

@DorijanH

Current behaviour

The onPage return type

{
    rows: GridValidRowModel[];
    totalRowsCount?: number
}

is not defined as a type and available to be reused outside the hook.

Expected behaviour

It would be nice to not have to explicitly know the type declaration and be able to reuse it when defining handlers for the onPage property.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions