delagoutte Posted September 12, 2017 Posted September 12, 2017 I have data in database (plain text) that are display on dbgrid. I would like search url in content and create on the fly, hyperlink for this url finded. For this i try to use 2 js lib : http://benalman.com/projects/javascript-linkify/ or http://soapbox.github.io/linkifyjs/docs/ for this i use this code for benalman lib : aGrid.ClientEvents.ExtEvents.Values['reconfigure']:= 'function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)'+#13#10+ '{'+#13#10+ ' columns.forEach(function(col) {'+#13#10+ ' col.renderer = '+#13#10+ ' function(v)' +#13#10+ ' { return linkify(v);} '+#13#10+ ' });'+#13#10+ '}'; linkifyStr(v,{}); with soapbox lib but it don't work for both i have the error JS Error: Argument 1 of Node.insertBefore is not an object. ext-sync-min.js:8:2362 Could you give me your help please with this lib or other ? Quote
Sherzod Posted September 15, 2017 Posted September 15, 2017 Hi, Please make a simple test case if possible Best regards, Quote
delagoutte Posted September 15, 2017 Author Posted September 15, 2017 sample : Linkify.zip I don't have error but the cell are not draw Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.