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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?
Go to bottomPage: 123
TOPIC: ARI JDataTable CSS
#784
ARI JDataTable CSS 16 Years, 3 Months ago Karma: 0
How can assign colours to the rows, and how use :Row CSS classe button. can post a little example ?
Tnx
The administrator has disabled public write access.
 
#785
Re:ARI JDataTable CSS 16 Years, 3 Months ago Karma: 763
For instance you want to assign different colors for odd and even rows of the table. Example:

{arijdatatable bPaginate="true" asStripClasses="test1,test2"}
<table>
<thead>
<tr>
<th>column1</th>
<th>column2</th>
<th>column3</th>
</tr>
</thead>
<tbody>
<tr>
<td>content1</td>
<td>content2</td>
<td>content3</td>
</tr>
<tr>
<td>content1</td>
<td>content2</td>
<td>content3</td>
</tr>
<tr>
<td>content1</td>
<td>content2</td>
<td>content3</td>
</tr>
</tbody>
</table>
{/arijdatatable}

This will assign test1 CSS class to odd rows and test2 CSS class to even rows.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#786
Re:ARI JDataTable CSS 16 Years, 3 Months ago Karma: 0
WoW is really fast your response Tnx.

I copy and paste your code example into my test/page. But the background color for columns and rows are the same.

You can see in: http://hrg.hazvisual.com/index.php?option=com_content&view=article&id=69&Itemid=115
The administrator has disabled public write access.
 
#787
Re:ARI JDataTable CSS 16 Years, 3 Months ago Karma: 763
Certainly background is the same since you don't have test1 and test2 CSS classes defined. This was just an example. Please see reference for CSS background-color property here.

Also we noticed that there is JavaScript error on your site - most probably it's related to mootools/jquery libraries conflict. Setting JQuery javascript library to run in no-conflict mode should solve the problem. Please try Components-> ARI Smart Content-> Plugins -> ARI JQuery Loader -> No conflict -> Yes.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#789
Re:ARI JDataTable CSS 16 Years, 3 Months ago Karma: 0
Ok Solved,
The administrator has disabled public write access.
 
#828
Re:ARI JDataTable CSS 16 Years, 3 Months ago Karma: 0
Hi, when I create such a .css file where do I have to put this file on the server, that it will be taken from the datatable?
The administrator has disabled public write access.
 
Go to topPage: 123