Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Paging Grid & HGrid: Refactoring with the new customers endpoint #668

Open
wants to merge 4 commits into
base: vnext
Choose a base branch
from

Conversation

MarielaTihova
Copy link
Contributor

@MarielaTihova MarielaTihova commented Nov 12, 2024

Resolves #667

Once this PR is merged, changes in IgniteUI/igniteui-xplat-docs#1375 should be made accordingly as well

@skrustev skrustev self-requested a review November 12, 2024 18:30
@skrustev skrustev removed their assignment Nov 12, 2024
@MarielaTihova MarielaTihova added the status: in-development PR is not finished label Nov 14, 2024
@MarielaTihova MarielaTihova removed the status: in-development PR is not finished label Nov 14, 2024
@MarielaTihova
Copy link
Contributor Author

Added changes for Hgrid as well. @skrustev could you please review again with the new changes?

@MarielaTihova MarielaTihova changed the title Remote Paging Grid: Refactoring with the new customers endpoint Remote Paging Grid & HGrid: Refactoring with the new customers endpoint Nov 14, 2024
@dkamburov dkamburov requested a review from skrustev November 18, 2024 16:12
primaryKey="customerId"
height="600px"
data={data}
isLoading={isLoading}
Copy link
Member

@skrustev skrustev Jan 7, 2025

Choose a reason for hiding this comment

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

For some reason there's a problem with this method of setting isLoading. It is not set in time when setting the data and results in no scrollbar when initially the data is rendered. Setting the property manually seems to work fine

Here how it is atm:

image

context.grid.data = data;
context.grid.isLoading = false;
Copy link
Member

Choose a reason for hiding this comment

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

This is disabling loading but there's nothing enabling the loading initially for the child grid thus resulting in loading indicator not rendered for child grids.

@dkamburov dkamburov requested a review from skrustev January 15, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote Paging Grid: Sample issues
3 participants