in reply to Perl Tk Gang together two Scrolled Panes

Ganged scrolling problem.

$horiz->configure(-command => sub { $dataFrame->xview(@_); $dataFrame->xview(@_) });

should be

$horiz->configure(-command => sub { $headFrame->xview(@_); $dataFrame->xview(@_) });

Replies are listed 'Best First'.
Re^2: Perl Tk Gang together two Scrolled Panes
by ashervin (Novice) on Nov 29, 2018 at 17:10 UTC

    Thanks tybalt89! now I am ganged, with still misaligned data.

    There is another minor snit, but the last column on every row ends up with the data not centered in the grid. That is why I ended up going with a height of 2 for the grid. Interestingly, when I push another string on the readline array, the OLD last item is still psuedo-'n', but the added last item on the row is fine.

      You are missing a "chomp" on your input.