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

Auto complete other columns #17

Closed
phoique opened this issue Mar 1, 2022 · 1 comment
Closed

Auto complete other columns #17

phoique opened this issue Mar 1, 2022 · 1 comment

Comments

@phoique
Copy link

phoique commented Mar 1, 2022

Hello, when you type 1-2-3 or 14:30, 14:40 in Excel and drag it down, it automatically increases the value and saves it. When I tested this on the examples on the website I couldn't. is it possible for me to do this?

@rmdort
Copy link
Member

rmdort commented Mar 1, 2022

useSelection hook has a callback onFill which you can consume to update your data

https://github.com/rowsncolumns/grid/blob/master/packages/grid/src/hooks/useSelection.ts#L59

@phoique phoique closed this as completed Mar 2, 2022
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

2 participants