Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

How to select/Highlight a Row in Tk::TableMatrix

by selva (Scribe)
on May 28, 2010 at 09:33 UTC ( #842006=perlquestion: print w/ replies, xml ) Need Help??
selva has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I have a requirement in Table Matrix package.

* If I select any column then it should highlight that row.
* Then I need to get all column values for selected row.

Comment on How to select/Highlight a Row in Tk::TableMatrix
Re: How to select/Highlight a Row in Tk::TableMatrix
by marto (Bishop) on May 28, 2010 at 09:41 UTC

    Did you look at the docs for Tk::TableMatrix regards highlighting? This response to your previous question looks like it should get you the values from a clicked/selected row.

    Update: fixed typo.

Re: How to select/Highlight a Row in Tk::TableMatrix
by lamprecht (Friar) on May 28, 2010 at 12:56 UTC
    Hi,

    take a look at option
    -browsecmd => CALLBACK
    to get a hook for selection changes,
    method tagRow()
    to highlight a row,
    method get()
    to get your rows values. (Or simply read the values from your -variable) .

    Cheers, Christoph

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://842006]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-12-27 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls