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

Support for Variable Row Heights in DataGrid Component #279

Open
ShivdeepJha opened this issue Jan 9, 2025 · 0 comments
Open

Support for Variable Row Heights in DataGrid Component #279

ShivdeepJha opened this issue Jan 9, 2025 · 0 comments

Comments

@ShivdeepJha
Copy link

Description:
I am requesting the addition of support for variable row heights in the DataGrid component within the @fluentui-contrib/react-data-grid-react-window package. This feature would allow each row in the DataGrid to have a different height, similar to the functionality provided by the VariableSizeList in the react-window library.

Proposed Solution:
Implement a mechanism in the DataGrid component that allows developers to specify individual row heights. This could involve integrating functionality akin to VariableSizeList from react-window, enabling efficient rendering of lists with items of varying sizes.

Use Case:
In scenarios where data entries have differing content sizes, such as varying amounts of text or nested elements, the ability to adjust row heights individually would enhance the user interface and improve readability.

Additional Context:
The current implementation of the DataGrid component appears to support only fixed row heights. Introducing variable row heights would provide greater flexibility and align with common use cases where data entries are not uniform in size.

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

No branches or pull requests

1 participant