[Tkinter-discuss] Scroll a table, but not the first two rows?

jaba at findyourcore.com jaba at findyourcore.com
Thu Jun 1 08:10:02 CEST 2006


yes, make two frames: one for the 'header' rows, and one for the scrolled
table.

> Why don't you separate the table from the header? The header should be
> *outside* the ScrolledFrame, so it's not scrolled
>
> Chris Niekel <chris at niekel.net> wrote: Hi,
>
> I'm trying to build a window that has a table with multiple columns. I'm
> using Pmw.ScrolledFrame now, creating the table with the
> .grid(row=N,column=N). This works quite good, but when more rows appear
> than fit in the window, the header of the column scrolls off.
>
> Is it possible to have the headers above the columns not scroll, but
> scroll
> the data below it? The columns and their header should be aligned
> properly.
>
> Thanks,
> Chris Niekel
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



More information about the Tkinter-discuss mailing list