Link Inside of a Table (ember.js)

Link Inside of a Table (ember.js)

dbaldersdbalders Posts: 3Questions: 1Answers: 0
edited March 2014 in General
Thanks in advance for the help. I am using ember.js and datatables to display data. I have the datatable working, but I would like for some of the data to link elsewhere. The way I have it setup is I have the json data inside the app and use aoColumns to pull from that data. My problem is that I can only get mData to pull one variable. I want to be able to pull a couple. For example, I want it to pull the image variable to display the image, but then also pull the link variable so when they click on the image it links elsewhere. This is the code I have so far:

http://jsfiddle.net/dizbiz/UcDF4/2/

So in the section where I have the "aoColumns", I want some way that i can do the mData of 2 of attributes so I can use the link attribute to create a link on each row.

Thanks!
David B
This discussion has been closed.