On Thu, Oct 13, 2011 at 01:18:02PM -0500, Ed Leafe wrote:
> On Oct 13, 2011, at 12:08 PM, Paul McNett wrote:
> 
> > There are cases for editable grids. You need to do two things:
> > 
> > 1) set grid.Column.Editable = True
> > 2) set grid.Editable = True
> > 
> > Find the appwizard-generated code in ui/Grd<name>.py where <name> is the 
> > table name.
> 
>       Just a minor clarification on point 1) above: The code will probably 
> have to specify a distinct column reference, e.g.:
> 
> grid.Columns[2].Editable = True
> 
> ... if you want the third column from the left to be editable. 
> 
I've simple changed the Editable property from False to True in all the
self.addColumn() calls in Grd<name>.py and that seems to have done what
I need in terms of allowing editing.

I'm still digging around in the event handling to find where to add
events for using the tab key for moving from column to column (and,
hopefully, to add a new row when at the last column).

-- 
Chris Green
_______________________________________________
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/20111013193524.GB19336@chris

Reply via email to