Customizing a GridCustTable.py

Hi, friends!

One more question about customizing a GridCustTable.py file from demos. Look at attachment please. Say I have an empty self.data list, so how I can show in grid table this empty row? For now the grid widgets doesn't appear at all.

Thanks!

test.py (5.38 KB)

Basil Shubin wrote:

Hi, friends!

One more question about customizing a GridCustTable.py file from demos. Look at attachment please. Say I have an empty self.data list, so how I can show in grid table this empty row? For now the grid widgets doesn't appear at all.

When the real row count is zero you can have your table report that there is one row and then just return empty strings for the items.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!