Hello,
I’m just starting with python programming and wxPython and I’d appreciate a little help from the experts.
I have created a grid for which I am trying to define an attribute for the various data types.
I didn’t encounter any problem with all the other data types except for the DATE.
attrD = wx.grid.GridCellAttr()
attrD.SetRenderer(wx.grid.GridCellDateRenderer())
attrD.SetEditor(wx.grid.GridCellDateEditor())
The error message is:
AttributeError: ‘module’ object has no attribute ‘GridCellDateRenderer’
I’ve seen GridCellDateRenderer in various wxPython documentation. I’ve also search the internet on how to create a renderer for a cell in the grid containing a date value but have been unable to find the answer.
Will greatly appreciate any help.
Thank you.