Is there a way I can render an element of the linked page in this dropdown row? I have been playing around with data render options but I can't figure it out?
Are you using Child Row Details or the Responsive extension?
Please provide a link to your page or a test case replicating the issue so we can see what you are doing to offer suggestions.
Thanks for your message, here is the test case:
I am trying to pull the main text for the linked article into the child row, I been tried using render options in the columns section but Ive not been able to get it to work.
Do you know if that would be possible? and what would be the best way to get it to work?
If you want it to be a hyper link you need to place it in an HTML a tag, like this:
Thanks Kevin, not quite what I was trying to do but not a bad option.
Do you mean you want to make a request to get the content of the target link and then show it in the table?
I suspect you'd need to use a proxy at the server-side to make that request and then parse and strip the data from it. I'd be surprised if Newspapers such as the Morning Star and the like would allow an Ajax request to get their content (which they can block with CORS headers). And even if they currently did, you would be a single config option away on their side from that approach being blocked.
You could Ajax load the child details so you wouldn't need to request and parse all the data upfront - only when requested.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.