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?

iDisplayLength (Show_ entries) changing table widt
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: iDisplayLength (Show_ entries) changing table widt
#47713
iDisplayLength (Show_ entries) changing table widt 10 Years, 2 Months ago Karma: 0
I have a club listing with 90 rows. If iDisplayLength is set to 10 or 25, the table display correctly, but if the iDisplayLength is set to 50 or 100, the width of the table increase and images in the table, used as icons decrease in size. This happens both when iDisplayLength is set in the content code, and when it's changed via the 'Show --- entries' dialog on the page itself. Attached are a couple of screen shots illustrating the problem.



The page where this can be seen is located at http://coloradosquaredance.com/index.php/clubs, and here's the content code being used.
Code:

{arijdatatable bPaginate="true" sPaginationType="full_numbers" iDisplayLength="25" bAutoWidth="false"}
   {aricsvtable file="/data/xml/allAreaClubs.csv" sortBy="dayWeek" sortDir="asc"}
      {aricsvtablecolumns}
       {aricsvtablecolumn id="dayWeek" alias="Day" pos="1" width="10%"}
               {coltemplate}
         <script>var day = '{$dayWeek}'.substr(2,3); document.write(day);</script>
              {/coltemplate}
       {/aricsvtablecolumn}
        {aricsvtablecolumn id="clubIcon" alias="Icon" pos="2" width="25%"}
            {coltemplate}<IMG SRC="/images/icons/{$clubIcon}" ALT="{$clubIcon}" width="80" >{/coltemplate}
        {/aricsvtablecolumn}
        {aricsvtablecolumn id="clubName" alias="Name/Description" pos="3"}
           {coltemplate}<strong>{$clubName}</strong> - {$danceLevel}  - {$clubDesc}        
            - <a href="http://coloradosquaredance.com/index.php/events-calendar/eventsbyyear/?search_fv={$clubName}" target="_top">View Club Events Calendar</a>
            - {arilinkifier target="_blank"}Web Link: {$webLink} {/arilinkifier}

           {/coltemplate}
         {/aricsvtablecolumn}

        {aricsvtablecolumn id="clubContactInfo" alias="Contact Info" pos="3"}
        {coltemplate}{arilinkifier target="_blank"}{$clubContactInfo} - {$clubContactEmail}{/arilinkifier}{/coltemplate}           
        {/aricsvtablecolumn}


        {aricsvtablecolumn id="venueName" alias="Venue" pos="4" width="12%"}
           {coltemplate}{$venueName}, {$venueAddress1}, {$venueCity}, {$venueState} {$venueZipcode}
           {/coltemplate}
        {/aricsvtablecolumn}

        {aricsvtablecolumn id="cssdaMember" alias="CSSDA" pos="5" width="10%"}
            {coltemplate}{$Area} / {$cssdaMember}{/coltemplate}
         {/aricsvtablecolumn}

      {/aricsvtablecolumns}
  {/aricsvtable}
{/arijdatatable}



Last Edit: 2014/02/06 20:46 By CSSDAweb.Reason: duplicated image
The administrator has disabled public write access.
 
#47724
Re:iDisplayLength (Show_ entries) changing table widt 10 Years, 2 Months ago Karma: 748
Hello,

Could you send a link to a page where we can see the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47725
Re:iDisplayLength (Show_ entries) changing table widt 10 Years, 2 Months ago Karma: 0
The page where this can be seen is located at
http://coloradosquaredance.com/index.php/clubs-cssda
The administrator has disabled public write access.
 
#47726
Re:iDisplayLength (Show_ entries) changing table widt 10 Years, 2 Months ago Karma: 748
Add the following CSS rule to "CSS Template" in "CSS Templates" section on component backend or to a site template CSS file:

TABLE.display {table-layout: fixed;}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47727
Re:iDisplayLength (Show_ entries) changing table widt 10 Years, 2 Months ago Karma: 0
Thank you... it's working correctly now.
The administrator has disabled public write access.
 
Go to topPage: 1