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?

Hi, I am able to enable your plugin
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Hi, I am able to enable your plugin
#27133
Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 0
I have just purchased ARI Data Table, all worked great. Thanks for this nice piece of art.

Yet, my task is as same as previous, I need to make the table clickable and assign these values back to my parent form.
Is there a way to modify the data within the table, so I can add some javascript in to assign these values?
Here's a frontend view-source:starter.hk/index.php?option=com_content&view=article&id=77

Many thanks,
Sam
The administrator has disabled public write access.
 
#27135
Re:Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 760
Hello,

You can use "Columnns Settings -> Format" parameter to format a column and add a javascript handler. For example if you want to call "myHandler" javascript function and pass value of selected "reference_no" when a user clicks by a "reference_no" cell, set "Columns Settings -> ID" parameter to reference_no and "Columns Settings -> Format" parameter to the next value:

Code:


<a href="#" onclick="myHandler('{$value}');return false;">{$value}</div>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#27144
Re:Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 0
Thanks for the prompt reply, I just want to know if there are any examples that I can reference.
Many thanks,
Sam
The administrator has disabled public write access.
 
#27145
Re:Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 760
Sorry, but what example you need? We described how to add a javascript handler in our previous post. You can attach your javascript code using solution from the previous post.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#27147
Re:Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 0
Hi,
I have inserted a similar code to the "Columnns Settings -> Format"

Nothing seems to show ...

<tbody><tr class="ari-tbl-row-0 odd">
<td class="ari-tbl-col-0">F4843</td>
<td class="ari-tbl-col-1">&#28580; &#38914; &#26377; &#38480; &#20844; &#21496;</td>
<tr class="ari-tbl-row-1 even">
<td class="ari-tbl-col-0">F4842</td>
<td class="ari-tbl-col-1">&#32736; &#23637; &#26377; &#38480; &#20844; &#21496;</td>
<td class="ari-tbl-col-2">Bright Jade Corporation Limited</td>
<td class="ari-tbl-col-3">2012-04-01 00:00:00</td>
</tr><td class="ari-tbl-col-2">Joint Great Corporation Limited</td>
The administrator has disabled public write access.
 
#27148
Re:Hi, I am able to enable your plugin 12 Years, 7 Months ago Karma: 760
Could you send screenshot(s) of module settings or a temporary access to your J! backend by email?

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