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?

Format of J datatables
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Format of J datatables
#22918
Format of J datatables 12 Years, 11 Months ago Karma: 0
Thanks for your help on the UI Themes which I got working, but I've realised that didn't solve my overall problem.

Is there an easy way to make the formatting of an Ari JDatatable, match the formatting of an Ari JTableSorter?

I find the formatting of the JTableSorter much better in the table I'm creating (smaller text, colours for both headings and table body etc.).

I tried combining the scripts:
E.g.

{arijdatatable}
{ariJtablesorter}

...table

{/ariJtablesorter}
{/arijdatatable}


but then the jtablesorter completely overrode the jdatatable and so even thought the formatting was great, I lost the search function - which is critical for the table.

I was thinking there might be an easy elegant solution to this.

Any help much appreciated.

Kind regards, domc
The administrator has disabled public write access.
 
#22920
Re:Format of J datatables 12 Years, 11 Months ago Karma: 760
Sorry, but it is not possible to use plugins in this way. "ARI JDataTable" and "ARI JTableSorter" can wrap "ARI CSV Table" and "ARI SQL Table" plugins, but it is not possible to wrap "ARI JDataTable" with "ARI JTableSorter" and vice versa.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#22921
Re:Format of J datatables 12 Years, 11 Months ago Karma: 0
And there's no css style or something else which I could easily set in the script which will let me use the formatting for the jtablesorter within jdatatable?

Kind regards, Domc
The administrator has disabled public write access.
 
#22922
Re:Format of J datatables 12 Years, 11 Months ago Karma: 760
Probably this post will be helpful.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#22934
Re:Format of J datatables 12 Years, 11 Months ago Karma: 0
That is excellent and I have got it to work by adding that css. Many thanks.

The only thing I would add for someone following this thread, is I created the file component_name/css/template.css in my front end and then used the following code (in order to include that file) in my view/tmp/default.php file:

$document = &JFactory::getDocument(); $document->addStyleSheet('components'.DS.'com_component_name'.DS.'css'.DS.'template.css');

in order to get it to work.

Cheers, domc
The administrator has disabled public write access.
 
Go to topPage: 1