For most usages of the grid control, your application must define a custom data source to provide the data on demand when the grid requests to display it. The use of a data source allows virtualizing data storage to prevent duplicating the storage of data in both the control and the backing data field. In this recipe, we will take a look at how to create a custom
PyGridTableBase to use as a data source for grid.
Perform the following steps:
import urllib import json import wx import wx.grid as gridlib