sekrup has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am building a timetable-like application using Tk::TableMatrix to display the data. The data displayed will need to be "refresh" quite often, and even requires resizing the number of columns (and rows).

For a fixed-size TableMatrix, I can reuse the existing TableMatrix by refilling the data, but is there any way to dynamically set the number of columns/rows of a TableMatrix? (instead of deleting and re-creating new TableMatrix)

I think several months ago I came across with how to do this, but I can't find it now..

Any help is greatly appreciated!

Thank you,
sekrup

Replies are listed 'Best First'.
Re: Reusing Tk::TableMatrix
by sekrup (Initiate) on Oct 17, 2007 at 00:10 UTC
    Whoops,

    I'm sorry.. I just realized changing the number of columns/rows of a TableMatrix can be done by something like $tm->configure(-cols=>$newcolvalue, -rows=>$newrowvalue);


    Thank you!
    sekrup