Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED] Creating a merged header row
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [SOLVED] Creating a merged header row
#48516
[SOLVED] Creating a merged header row 10 Years, 3 Months ago Karma: 2
Visit here:

www.halscrib.com/web-club/tournaments


You can see that some of the column headers have the text Avg in them. If I can remove the text "Avg" from each column, I will re-gain precious space and each row can fit on one line.

Is there a way to have an additional header row about the existing header row, and in the cells above the 4 that say "Avg", have it appear as 1 large cell, with the word "Average".

In essence, like merging 4 cells in Excel.

Thanks.
Last Edit: 2014/03/23 18:47 By JugglingReferee.
The administrator has disabled public write access.
 
#48518
Re:Simulating an MS Excel merged cell look 10 Years, 3 Months ago Karma: 2
I've added a caption to simulate something which I'm looking for.

It's a hack of a solution so far...
The administrator has disabled public write access.
 
#48519
Re:Simulating an MS Excel merged cell look 10 Years, 3 Months ago Karma: 748
Hello,

The extension doesn't support this ability.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#48522
Re:Simulating an MS Excel merged cell look 10 Years, 3 Months ago Karma: 2
admin wrote:
Hello,

The extension doesn't support this ability.

Regards,
ARI Soft


Would you please tell me which file handles displaying the table caption? I'm going to manually add code that will do as I wish.

Regards.
The administrator has disabled public write access.
 
#48524
Re:Simulating an MS Excel merged cell look 10 Years, 3 Months ago Karma: 748
See <joomla_directory>\modules\mod_aridatatables\tmpl\genhtmltable.php file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#48527
Re:Simulating an MS Excel merged cell look 10 Years, 3 Months ago Karma: 2
For others:

I edited the file as mentioned by our wonderful admin.

Captions go in the THEAD section. So after line 68, I added:

Code:

<?php
if (($_SERVER['REQUEST_URI'] == "/web-club/tournaments") {
echo '<tr><td></td><td></td><td></td><td>|<-----</td><td colspan="2" style="text-align: center;">Averages</td><td style="text-align: right;">----->|</td></tr>';
}
?>



This says if the URI is the one particular URL in question (the domain doesn't matter), then include a row with the first 3 cells empty, the 4th column shows the beginning if the Average'd range, then the word Average, and then the last cell showing the end of the Average'd data.

Hope that helps someone else.
Last Edit: 2014/03/23 18:44 By JugglingReferee.
The administrator has disabled public write access.
 
Go to topPage: 1