Need to add tags within JavaScript array data source

Need to add tags within JavaScript array data source

pwmusicpwmusic Posts: 4Questions: 0Answers: 0
edited June 2010 in General
Hi all

I need to be able to add an anchor tag to the first column (or all columns, should it not prove possible to restrict the functionality to the first column only) to allow a click to link to a subsequent page.

Due to the number of records in the data source I'm using a JavaScript array and allowing DataTables to build the table for me.

Unfortunately I can't see how to add the functionality I need, if it's even possible.

The target for the anchor tag will be one of the JavaScript array elements.

Has anyone done something similar or can anyone suggest a possible solution, please?

Cheers

Patrick

Replies

  • pwmusicpwmusic Posts: 4Questions: 0Answers: 0
    edited June 2010
    Sorry all, I worked out a way of sorting this all by myself;-)

    Basically, the first was created from a JavaScript data construct like this:
    [code]
    var aDataSet = [
    ["Link title", "BSc", "2009/10"],
    [/code]
    etc.

    Cheers

    Patrick
This discussion has been closed.