[data grid] isLastColumn
parameter is not set to true
for last column when disableVirtualization={true}
#13114
Labels
component: data grid
This is the name of the generic UI component, not the React module!
feature: Column groups
Related to the data grid Column groups feature
status: waiting for author
Issue with insufficient information
support: premium standard
Support request from a Premium standard plan user. https://mui.com/legal/technical-support-sla/
Steps to reproduce
Link to live example: (required)
Steps:
params.isLastColumn=false
(should be true)Current behavior
current behavior when triggering
columnGroupHeaderKeyDown
event, isLastColumn is evaluating to falseExpected behavior
isLastColumn should evaluate to true when keydown event is triggered on last column group header
Context
I am trying to use this variable as a flag for custom keydown behavior when the event is triggered on the last columnGroupingHeader in the grid
There are instances when the keyboard focus is on the last columnGroupingHeader, but the grid does not scroll all the way to the end to show all child headers. As a workaround, i am trying to trigger grid scroll when user presses "ArrowRight" key on the last columnGroupingHeader
something like this is what i'd like to do, or if you can fix internally that would be cool too
Your environment
npx @mui/envinfo
Search keywords: isLastColumn, disableVirtualization, columnGroupHeaderKeyDown
Order ID: 48138
The text was updated successfully, but these errors were encountered: