johnf wrote:
> Hi,
> If I copy class BoolRenderer form the gridRenderers.py and put into my code 
> and attempt to use it as follows - it fails with "object is not callable"
> 
> contactGrid.Columns[0].Caption ="Closed"
> contactGrid.Columns[0].DataField = "stop_close
> contactGrid.Columns[0].CustomRendererClass= BoolRenderer()
> 
> I don't understand how to create my own customer render?  Could someone 
> explain.

Try making that:

contactGrid.Columns[0].CustomRendererClass = BoolRenderer

( no () )

Paul

_______________________________________________
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