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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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 8 Years, 3 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 8 Years, 3 Months ago Karma: 667
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 8 Years, 3 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 8 Years, 3 Months ago Karma: 667
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 8 Years, 3 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 09:20 By Wiechardt.
The administrator has disabled public write access.
 
#2153
Re:Arijdatatable ignores Joomla template layout 8 Years, 3 Months ago Karma: 667
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