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?

Arijdatatable ignores Joomla template layout
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: Arijdatatable ignores Joomla template layout
#2148
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 0
Thanks for your help and the super fast response time!
The administrator has disabled public write access.
 
#2149
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 746
You are welcome. You can feel free to ask any questions about the component.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#2150
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 0
I have decided to rather display the information in a joomla popup window (new page with no navigation options) due to the space restrictions in my template.

I have added the aricsvtablecolumns properties for all my columns in the table and created two CSS classes, one for right alignment and one for left alignment. The only information in that article are as follows:

{arijdatatable paging="true" bAutoWidth="false" width="530px"}{aricsvtable file="images/price_list/pricelist2009_2.csv"}{aricsvtablecolumns}{aricsvtablecolumn id="Botanical Name" width="150px" className="leftAlign"}{aricsvtablecolumn id="Afrikaans" width="150px" className="leftAlign"}{aricsvtablecolumn id="English" width="150px" className="leftAlign"}{aricsvtablecolumn id="Container" width="50px" className="leftAlign"}{aricsvtablecolumn id="Price Incl. VAT" width="30px" className="rightAlign"}{/aricsvtablecolumns}{/aricsvtable}{/arijdatatable}

The alignment works lovely but the DataTable seems to ignore the fixed column widths...when I change the "Display x number of records" or browse to the next page all the column widths change.

Please can I ask you to tell me what I am doing wrong?

This is the link to the page.
The administrator has disabled public write access.
 
#2151
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 746
You can define width property through CSS class. For example, use the following code:

Code:


{arijdatatable paging="true" bAutoWidth="false" width="530px"}
  {aricsvtable file="images/price_list/pricelist2009_2.csv"}
   {aricsvtablecolumns}
    {aricsvtablecolumn id="Botanical Name"  className="leftAlign" headerClassName="width150"}
    {aricsvtablecolumn id="Afrikaans" className="leftAlign" headerClassName="width150"}
    {aricsvtablecolumn id="English" className="leftAlign" headerClassName="width150"}
    {aricsvtablecolumn id="Container" className="leftAlign"  headerClassName="width50"}
    {aricsvtablecolumn id="Price Incl. VAT" className="rightAlign" headerClassName="width30"}
   {/aricsvtablecolumns}
  {/aricsvtable}
{/arijdatatable}



and define the following CSS classes in 'CSS Template':

Code:


.width150
{
  width: 150px;
}

.width50
{
  width: 50px;
}

.width30
{
  width: 30px;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#2152
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 0
I used your code (had to remove the <br> inbetween otherwise it does not recognise the tags) and defined the CSS classed, but the problem stil persists. The table is still auto width and it does not apply the column widths.

My CSS contains the following:

#mainbody
{
clear: right;
}

#scroll
{
position: relative;
}

TD.rightAlign
{
text-align: right;
}

TD.leftAlign
{
text-align: left;
}
.width150
{
width: 150px;
}

.width50
{
width: 50px;
}

.width30
{
width: 30px;
}

When I change the sort order, change the number of records to be viewed or search the table size and column widths change - I would like it to remain the same (static) both for the table width and the column widths. What am I missing?
Last Edit: 2009/07/26 15:20 By Wiechardt.
The administrator has disabled public write access.
 
#2153
Re:Arijdatatable ignores Joomla template layout 14 Years, 8 Months ago Karma: 746
Could you send your CSV file and code from article which you use by email (info@ari-soft.com)? It help us provide solution more faster.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1234