Defining a CellRenderer for an editable cell

The DataGridCellEditor class defines a renderer used for editable cells in a DataGrid object. It becomes the renderer for a cell when the editable property of the DataGrid object is set to true and the user clicks the cell to be edited. To define a CellRenderer for the editable cell, set the itemEditor property for each element of the columns array of the DataGrid object.