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

[DataGrid] Make base data source available in the Community plan #16359

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Jan 27, 2025

Resolves #15373

@MBilalShafi MBilalShafi added component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source labels Jan 27, 2025
@mui-bot
Copy link

mui-bot commented Jan 27, 2025

@MBilalShafi MBilalShafi marked this pull request as ready for review January 28, 2025 11:04
@MBilalShafi MBilalShafi requested a review from a team January 28, 2025 11:04
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 29, 2025

This comment was marked as outdated.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 30, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 30, 2025

This comment was marked as outdated.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 30, 2025
@MBilalShafi MBilalShafi changed the title [DataGrid] Make basic data source available for MIT users [DataGrid] Make base data source available in the Community plan Jan 30, 2025
Comment on lines -31 to +32
const initialStateWithPagination = React.useMemo(
const initialState = React.useMemo(
Copy link
Contributor

Choose a reason for hiding this comment

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

"Pagination" was removed from the name but is still present in the object's value, should it be removed?

paginationModel,
sortModel,
filterModel,
...computeStartEnd(paginationModel),
Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't feel like it needs to be in a separate function.

@@ -26,6 +26,7 @@ import { HeightEntry } from '../../features/rows/gridRowsMetaInterfaces';
export type GridPipeProcessorGroup = keyof GridPipeProcessingLookup;

export interface GridPipeProcessingLookup {
clearDataSourceState: { value: null };
Copy link
Contributor

Choose a reason for hiding this comment

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

Tbh I don't love pipe processors, I feel like they make the flow a bit hard to understand. Is there a way we could use an alternative? Could the newer grid config context be used instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Make basic data source features available in community plan
3 participants