microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
17.75k stars 2.65k forks source link

[Feature]: Can we add props "focusMode" to DataGridHeaderCell component? #31265

Open yaoyao-ict opened 2 weeks ago

yaoyao-ict commented 2 weeks ago

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

We have this focusMode props supported in DataGridCell component now. Can we add this props to DataGridHeaderCell component?

Have you discussed this feature with our team

No response

Additional context

We need to implement a data grid with a MenuButton in the header cell, so that users can customize the column to see data they are interested in. Without support of focusMode, user cannot focus on the button in header cell through keyboard.

Validations

Priority

High