Dropdown cells copy label instead of value
I have dropdown columns where I have value as some specific code and label where user friendly string is displayed. When I copy rows with dropdown columns specific values are copied, is there a way to copy labels instead values?
Your environment details
- Device: desktop
- OS: Windows
- Browser: chrome
You can clone the dropdown cell and change it's behavior in getCompatibleCell() - return a cell without labels for example. https://github.com/silevis/reactgrid/blob/master/src/lib/CellTemplates/NumberCellTemplate.tsx
Or try our band new v5-alpha release.
@MichaelMatejko thanks but it's not clear which property is responsible for copy, I tried all but none helped
v5 alpha does not seem to have a dropdown template at the moment. @MichaelMatejko