Index
2012-01-05 14:14 – John Fabiani : [dabo-users] grid sizing
2012-01-05 17:12 – John Fabiani : Re: [dabo-users] grid sizing
2012-01-05 17:19 – Paul McNett : Re: [dabo-users] grid sizing
2012-01-05 17:22 – John Fabiani : Re: [dabo-users] grid sizing
2012-01-05 17:34 – Paul McNett : Re: [dabo-users] grid sizing
Back to top
[dabo-users] grid sizing

Author: John Fabiani

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

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
Back to top
Re: [dabo-users] grid sizing

Author: John Fabiani

Posted: 2012-01-05 17:12:32   Link

On Thursday, January 05, 2012 11:14:20 AM John Fabiani wrote:

> 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

Nobody has any thoughts on this - it is becoming an issue. As I expand the

several of the columns the other columns contract. The scrollbar appears then

immediate disappears.

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/1333267.BHeBKfXPIx@linux-12

©2012 John Fabiani
Back to top
Re: [dabo-users] grid sizing

Author: Paul McNett

Posted: 2012-01-05 17:19:01   Link

On 1/5/12 2:12 PM, John Fabiani wrote:

> Nobody has any thoughts on this - it is becoming an issue. As I expand the

> several of the columns the other columns contract. The scrollbar appears then

> immediate disappears.

Can you reproduce this running dabo/dabo/ui/uiwx/dGrid.py?

Personally, I've not noticed anything like what you describe, on Mac, Windows, or

Linux using wxPython 2.8.12.x

Paul

_______________________________________________

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/4F0621D5.7080201@ulmcnett.com

©2012 Paul McNett
Back to top
Re: [dabo-users] grid sizing

Author: John Fabiani

Posted: 2012-01-05 17:22:26   Link

On Thursday, January 05, 2012 02:19:01 PM Paul McNett wrote:

> On 1/5/12 2:12 PM, John Fabiani wrote:

> > Nobody has any thoughts on this - it is becoming an issue. As I expand

> > the several of the columns the other columns contract. The scrollbar

> > appears then immediate disappears.

>

> Can you reproduce this running dabo/dabo/ui/uiwx/dGrid.py?

>

> Personally, I've not noticed anything like what you describe, on Mac,

> Windows, or Linux using wxPython 2.8.12.x

>

> Paul

Duh!!!!!!! it was me. I had the expand = True on each column. I guess I did

a cut and paste and forgot the expand was there.

Sorry about the noise!

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/1943286.KTcS6oFV18@linux-12

©2012 John Fabiani
Back to top
Re: [dabo-users] grid sizing

Author: Paul McNett

Posted: 2012-01-05 17:34:39   Link

On Jan 5, 2012, at 14:22, John Fabiani <johnf@jfcomputer.com> wrote:

> Duh!!!!!!! it was me.

We all knew that already. :)

_______________________________________________

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/C2201E2D-49B2-4B61-A8EB-A98E3D140D22@ulmcnett.com

©2012 Paul McNett