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?

Code Tweak needed for sorting when using hyperlink
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Code Tweak needed for sorting when using hyperlink
#23921
Code Tweak needed for sorting when using hyperlink 12 Years, 10 Months ago Karma: 0
In one of the data columns I have in my CSV file, I use names - some are hyperlinked some aren't... So for example:

Alison
Andy
<a href="Aztec">Aztec</a>

ARI Data Tables converts all this into perfect front-end display BUT if you try and sort on the column, it interprets the hyperlinks as first....

Does that make sense? Can the sorting code be tweaked to detect and ignore any HTML when it sorts?
The administrator has disabled public write access.
 
#23933
Re:Code Tweak needed for sorting when using hyperlink 12 Years, 10 Months ago Karma: 760
Hello,

Set zero-based index of the column in "Choose table type -> ARI Data Table -> Columns settings -> Column index" parameter and set "Choose table type -> ARI Data Table -> Columns settings -> Sorting type" parameter to "HTML".

Regards,
ARI Soft
The administrator has disabled public write access.
 
#23939
Re:Code Tweak needed for sorting when using hyperlink 12 Years, 10 Months ago Karma: 0
Perfect! Sorry I under-estimated the power of the awesome ARI Data Tables!!!!!
The administrator has disabled public write access.
 
Go to topPage: 1