Grid control provides a spreadsheet-like display of data using a separate data source that provides the data to the
Grid control. The
Grid control in wxPython is a generic widget used to display tabular data. In this recipe, we will explore some of the basic capabilities of the grid control by creating a grid that can be used to edit CSV-formatted files.
This recipe will assume some basic familiarity with the
PyGridTableBase class that was discussed in the previous recipe, Implementing a data source; so, ensure that you take a quick review of the preceding recipe before getting into this one.
Here are the steps that you need to perform in this recipe: