Skip to content

fix(grid): load the first page initially in the remote paging demo - #1340

Open
teodosiah wants to merge 1 commit into
vnextfrom
thristodorova/fix-1261
Open

teodosiah wants to merge 1 commit into
vnextfrom
thristodorova/fix-1261

Conversation

@teodosiah

Copy link
Copy Markdown
Contributor

Closes #1261

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change to load the grid demo’s first page during initialization.

No open issues 🎉

What changed in this PR

Fixes the grid remote-paging demo’s empty initial state reported in #1261 by loading the first page directly during initialization rather than waiting for the window load event.

Changes:

  • Starts the initial data request immediately after binding paginator events.
  • Initializes the total record count to zero and makes paging arguments required.
File Description
samples/​grids/​grid/​remote-paging-grid/​src/​index.ts Loads the first page during initialization and makes paging state and arguments explicit.

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote paging sample does not load any data

2 participants