Search code examples
python-3.xwxpythonwxwidgets

Use scientific notation with wxGrid


I am developing a wxpython interface and am wodering if there is a mean to write the numbers in scientific notation in wxGrid.

Any clue ?


Solution

  • A data formatter or validator should suffice. There is an old article on the wxPython wiki that you can use for inspiration:

    There is also another StackOverflow question on this topic here:

    That fellow ended up using a validator to accomplish scientific notation.