[dabo-users] grid sizing

Author: John Fabiani

Posted: 2012-01-05 at 14:14:20

Hi,

My grids are normally created as follows:

class ProductGrid(dabo.ui.dGrid):

def afterInit(self):

self.super()

self.HeaderFontBold = True

self.RegID = "productgridID"

self.SelectionMode = 'Row'

self.AlternateRowColoring = True

self.MovableColumns = True

self.DataSource = self.Form.pwproduct

col = dabo.ui.dColumn(self, Order=10, DataField="cdesc",

DataType="string", Caption="Description",

Sortable=True, Searchable=True, Editable=False,

Expand=True, HorizontalAlignment = 'Center')

self.addColumn(col) ...

I have noticed that grid does not provide a left-right scroll bar (I think it

use too) as I add columns. Has some thing changed or am I just nuts for

believing the grid left-right scroll should appear when not all the columns

can be displayed?? How can I force the left-right scroll bar for the grid?

Johnf

_______________________________________________

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/3614650.mx3hlHbzdG@linux-12

©2012 John Fabiani