Skip to content

[Docs]: DataGrid Large data with Virtualize incorrect example code #6216

@cpiber

Description

@cpiber

Blazorise Version

1.8

What Blazorise provider are you running on?

None

Link to minimal reproduction or a simple code snippet

https://blazorise.com/docs/extensions/datagrid/binding-data/large-data

Specifically the "Expression Compiler" example

Steps to reproduce & bug description

The example says to .ApplyDataGridPaging(e.VirtualizeOffset + 1, e.VirtualizeCount)

What is expected?

Proper paging

What is actually happening?

The ApplyDataGridPaging multiplies with the page size, which is inappropriate for Virtualize. Instead the code from the other example .Skip( e.VirtualizeOffset ).Take( e.VirtualizeCount ) should be used.

What browsers do you see the problem on?

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

✔ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions