Hi,

I have dGrid column declared:
self.addColumn(dColumn(
         self, DataField="dl_quantity", Caption=u"Qty",
         Editable=True, DataType="decimal"))

When I set focus to that cell, an exception is raised:
Traceback (most recent call last):
  File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", 
line 14618, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
  File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\grid.py", 
line 1308, in EnableCellEditControl
return _grid.Grid_EnableCellEditControl(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at 
..\..\src\generic\grid.cpp(925) in wxGridCellNumberEditor::BeginEdit(): 
this cell doesn't have numeric value.

What can I do with this? Any advice please?

-- 
Regards
Jacek Kałucki

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to