111 |
self.SetTable(self.table, true) |
self.SetTable(self.table, true) |
112 |
|
|
113 |
#self.SetMargins(0,0) |
#self.SetMargins(0,0) |
114 |
self.AutoSizeColumns(false) |
|
115 |
|
# AutoSizeColumns would allow us to make the grid have optimal |
116 |
|
# column widths automatically but it would cause a traversal of |
117 |
|
# the entire table which for large .dbf files can take a very |
118 |
|
# long time. |
119 |
|
#self.AutoSizeColumns(false) |
120 |
|
|
121 |
self.SetSelectionMode(wxGrid.wxGridSelectRows) |
self.SetSelectionMode(wxGrid.wxGridSelectRows) |
122 |
|
|