sorting links

I have a column of linked values, and when sorting by the default “str”, it sorts them by the actual html, which of course is not the desired result. I’ve read this link: dhtmlx.com/docs/products/dhtmlxG … 6078486000



But it doesn’t address my particular problem. The links in question respond to an onclick event and fire a javascript method, thus I don’t want them to target _blank… Is there a way to sort these using ro,link, and not have it pop take any target action?

There are two solutions

a) you still can use “link” excell and its native sorting capability, the target frame can be set as part of data
    Name^javascript:myfunc()^_self

such value will be rendered as link with javascript action as href, and because of self it will not triger any new window opening.

b) you can use custom sorting - it possible to defined custom routine which will compare values
    dhtmlx.com/docs/products/dhtmlxG … 4194864000
In you case custom sorting routine will receive full values of cell, including html tags, but may compare ( if properly coded ) only text parts of them.