O'Reilly logo

WxPython Application Development Cookbook by Cody Precord

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting started with the data grid

The 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.

Getting ready

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.

How to do it…

Here are the steps that you need to perform in this recipe:

  1. First, we will use a couple of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required