.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.grid.GridCellEnumRenderer: ========================================================================================================================================== |phoenix_title| **wx.grid.GridCellEnumRenderer** ========================================================================================================================================== This class may be used to render in a cell a number as a textual equivalent. The corresponding text strings are specified as comma-separated items in the string passed to this renderer constructor or :meth:`~wx.grid.GridCellEnumRenderer.SetParameters` method. For example, if this string is ``"John,Fred,Bob"`` the cell will be rendered as "John", "Fred" or "Bob" if its contents is 0, 1 or 2 respectively. .. seealso:: :ref:`wx.grid.GridCellRenderer`, :ref:`wx.grid.GridCellAutoWrapStringRenderer`, :ref:`wx.grid.GridCellBoolRenderer`, :ref:`wx.grid.GridCellDateTimeRenderer`, :ref:`wx.grid.GridCellFloatRenderer`, :ref:`wx.grid.GridCellNumberRenderer`, :ref:`wx.grid.GridCellStringRenderer` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html