Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Problem in row deletion with Tk::Table

by emilbarton (Scribe)
on Aug 30, 2013 at 07:00 UTC ( #1051554=perlquestion: print w/replies, xml ) Need Help??
emilbarton has asked for the wisdom of the Perl Monks concerning the following question:

Hello! There's a problem I meet with my tables in Csgrouper. These tables contain rows with several widgets on each, usually beggining with a checkbox - in order to select or unselect the row for deletion and other purposes.

This would work OK if there wasn't a remanence of the checkboxes after deletion, at table bottom. However inactive, these ghost rows and checkboxes look bad and could lead to errors since they remain checkable. What could I do to get rid of them?
Thank you in advance.

Replies are listed 'Best First'.
Re: Problem in row deletion with Tk::Table
by Anonymous Monk on Aug 30, 2013 at 07:02 UTC
    what file/function? cutdown demonstration? :)
      For instance:
      UPDATE: see the 'standalone' example below.
        I had a look at, sorry, that is way too much code (7k lines). Here is the idea
        #!/usr/bin/perl -- use strict; use warnings; use Tk; my $mw = tkinit; my $Section_tblw = $mw->Table( ... 20 lines or less MainLoop;

        If you can get it down to 20 lines + boilerplate, we might make some progress

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1051554]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-11-19 18:07 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (282 votes). Check out past polls.