Hi,
I have what I hope is a simple question.  I have a dGrid with a column of
checkboxes with DataType "bool".  I would like to call code when the user
checks or unchecks a check box, but I haven't been able to figure out how to
bind an event to a checkbox within a column of a grid.

The code I have to create the grid and the column is


class selMovesGrid(dabo.ui.dGrid):
    def afterInit(self):
        self.addColumn(Name="incl", Caption="Includes", Width=60,
                       DataType="bool", Sortable=True, DataField = "incl",
                       Searchable=False, Editable=True, Resizable=False)

class selMoves(dabo.ui.dPanel):
    def afterInit(self):
        [...]
        self.selGrid = selMovesGrid(self)
        [...]



I'm not sure if I need to bind the event to the column or the instance of
the grid or what.

Thanks,
Bronwyn


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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