Re: [dabo-users] help with checkbox in dgrid

Author: Ed Leafe

Posted: 2012-04-15 at 18:44:42

On Apr 14, 2012, at 9:17 PM, Cheryl wrote:

> Does someone have an example of how to change a bizObject created with the class

> designer to show how to make a boolean field show up as a checkbox?

You don't change the bizobj; the grid is in the UI layer, not the business logic layer. In the afterInit() of the column of the grid containing the boolean value, add the lines:

self.customRenderer = self.boolRendererClass

-- Ed Leafe

_______________________________________________

Post Messages to: Dabo-users@leafe.com

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/34F90A5F-0B18-4AD2-9704-F8827825B8C6@leafe.com

©2012 Ed Leafe