antmayday has asked for the wisdom of the Perl Monks concerning the following question:
Also, I originally tried to use $Columns->addcolumn(-options) to add each column individually but the headers would contain two lines for the label the first line what I wanted ie "Item" but the second line for each one would be "(No Title)." If there was just a way to get rid of the (No Title) that would of worked fine. Thanks for any help.$maindata = $mwmidfr->Columns('-columnlabels' => \@headers, '-listforeground' => 'black', '-listbackground' => 'tan', '-buttonbackground' => 'red', '-buttonforeground' => 'yellow', '-selectmode' => 'extended', '-selectcommand' => \&modify, '-zoom' => '1', '-sortcommand' => '$a cmp $b', '-sort' => 'true')->pack(); $maindata->configure(0, '-sortcommand' => '$a <=> $b');
|
|---|