On Wednesday 18 November 2009 04:54:38 pm Paul McNett wrote:
> John wrote:
> > I can find
> > dGrid.ResizableColumns
> > dColumn.Resizable = True
> > dColumn.Movable = True
> >
> > But not attrb or properties you are using - dGrid.SizableColumns and
> > dColumn.Sizable.  Maybe something in wx?
>
> Sorry, I had the prop names wrong (working from memory). No, this isn't wx.
> wxGrid doesn't even have the concept of columns as separate objects.
>
> > below is my setup of a grid.
> >
> > attenGrid = dabo.ui.dGrid(self, RegID = "attengridID", SelectionMode =
> > 'Row', AlternateRowColoring = True, ColumnCount = 10, Editable = False,
> > MovableColumns = True, ResizableColumns = True)
> >         attenGrid.DataSource = self.Form.esatten
> >         attenGrid.Columns[0].Caption = 'Attended'
> >         attenGrid.Columns[0].DataField = 'here'
> >         #attenGrid.Columns[0].Width = 90
> >        attenGrid.Columns[0].Resizable = True
> >       attenGrid.Columns[0].Movable = True ...
> >
> > What do I have to change?
>
> Looks good to me. You set up your grid differently than me (but that
> shouldn't matter - if it does matter it's a bug). Here's how I set up my
> grids:
>
> grd = dabo.ui.dGrid(self, DataSource="...")
> grd.addColumn(dabo.ui.dColumn, DataField="...", Caption="...")
>
> Paul
Well something is wrong because I can't get the column size to persist.  I'll 
try your way sometime tonight.  Thanks

Johnf



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to