Editable Dash Table - Coerce input according to column's format settings?

I have an editable Dash Data Table with numeric columns formatted according to locale (i.e. different thousands and decimal separators depending on language setting) and the formatting works fine when a purely numeric input is provided, e.g. 123456 gets displayed as 123,456 correctly. However if the user inputs 123,456 this fails to be validated and coerced into 123456 behind the scenes. Is there any way I can provide a custom function to handle these inputs smoothly?

Hello @edt-andrew,

Have you taken a look at using AG Grid for this? You can define the input box parameters, etc through the columnDefs.

1 Like