Sorting

Hi,

How to sort the link type columns on the client side

If you have specified it as “link” column type and using raw data in XML - it can be sorted as any other columns ( str sorting type will work correctly )
If you have used inline link tags - you need to use custom sorting routine.
function str_custom(a,b,order){
a = a.replace(/<[^>]>/gi,"")
b = b.replace(/<[^>]
>/gi,"")
if (order==“asc”)
return (a>b?1:-1);
else
return (a>b?-1:1);
}