glide-data-grid
glide-data-grid copied to clipboard
feat: provideEditorCallback access cell location
Most of api is
(cell: Item, value: GridCell) but that would be a breaking change here.
Yeah, it is a breaking change. Maybe we can pass in (cell: GridCell & Item), then it wouldn't be a breaking change with a required second arg. What do you think?
LGTM 👍 I think the main downside with the updated impl. is that it would overwrite a location prop of a built-in cell. But none of the built-in cells use this property yet -> should be good to go
One small related nice-to-have addition might be a storybook case for provideEditor. I don't think we have one at the moment. But we can also do that in another PR, whatever you prefer.