-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Describe the bug
This is my definition:
const cell: NumberCell = {
type: 'number',
value: (task.percentComplete ?? 0) / 100,
format: new Intl.NumberFormat('en-US', {
style: 'percent',
minimumFractionDigits: 0,
maximumFractionDigits: 0,
}),
nonEditable: false,
};When double clicking to edit the cell, I see 0.36, but in the normal view it shows 36%. I want the edit view to show 36
Current behavior
No way to change the format of the value for edit mode. Really format should have an alternative version that is just a function that returns a value.
Expected behavior
Show a different version of the value, like displayValue function or something
Screenshots or gifs
Your environment details
- Device: desktop
- OS: macos
- Browser arc (chrome)
Metadata
Metadata
Assignees
Labels
No labels