Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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
[LanX]: Network (1976 film) yeah
[LanX]: yeah, we just had a discussion at work that SciFi in the 70s had more inovation
[LanX]: (movies)
[Your Mother]: Real ideas. Ideas grounded in reality as well.
[LanX]: still some good newer ones. Oblivion had a great design, Moon was well acted
[Your Mother]: Moon was mind bending and lovely and what's his nose Sam is *always* fun.
[LanX]: the new BS Galactica series is my all time SoapFiction favourite ...
[Your Mother]: I even liked "The Arrival" and I generally hate time travel (oriented) stuff.
[Your Mother]: Gotta go. Stay out of trouble.
[LanX]: no worries ... mainland Europe is safe ;-P

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2018-03-19 15:08 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.