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

Data Grid inline editation autofocus - disable #2660

Open
dyabol opened this issue Nov 8, 2024 · 0 comments
Open

Data Grid inline editation autofocus - disable #2660

dyabol opened this issue Nov 8, 2024 · 0 comments

Comments

@dyabol
Copy link

dyabol commented Nov 8, 2024

Data Grid from a certain version automatically focuses the first editor in inline editing.

But in some cases where I want to focus a different editor than the first or focus nothing, this behavior is undesirable.

I got a solution in the support center by removing the className "k-grid-edit-row" from the table row. Which works, but it's not a system solution where it's granted that it won't have a negative impact on the table's functioning in the future.

I suggest adding a property to the table that suppresses this behavior or creating a props context where this can be globally suppressed. Like here: https://www.telerik.com/kendo-react-ui/components/dropdowns/props-context/

Ticket id: 1669853

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