glideapps / glideapps/glide-data-grid
Use string instead of string[] in ImageCell
Open
package:core
type:enhancement
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
They way `ImageCell` is setup to support multiple images in a single cell, which makes sense. However since for a single image the value of the cell would be in array like `[some-image-url]` we are stuck due to how our DS's are setup.
As far as I understand, there isn't a way to make `ImageCell` support simple `string` urls instead of an array.
1. Is there are simpler way to handle this case?
2. We are avoiding the use of `CustomCell` as the data would be `{}` and it would require a lot of codebase change.
Thank you for the help .
P.S - Love the editor!
Contributor guide
Assessment
This issue has not been assessed yet.