assigning column to another column

assigning column to another column

redhookbakerredhookbaker Posts: 31Questions: 0Answers: 0
edited March 2010 in General
Hi,

I have 5 columns, on the 5th column, I want to create a link, this link is actually a form that contains a few hidden fields, is there a way to get the values, say, from 1st and 2nd column and assign them to 5th column form? thanks

Replies

  • allanallan Posts: 65,485Questions: 1Answers: 10,876 Site admin
    Its sounds like a follow on from a number of your other threads. It might be an idea to keep posts which have the same principle in the same thread. In other threads you have used fnRender - http://datatables.net/usage/columns#fnRender - you can use this. All of the data in the row in in the object passed into the function, as noted in the documentation.
  • redhookbakerredhookbaker Posts: 31Questions: 0Answers: 0
    sorry, will do that in the future.

    I am creating a input field using fnRender as following, just oObj.aData[3] alone, it shows the data, but with , when I view the source, it shows,

    ';
    Is this normal? Wont it show the value in view source? thanks


    [code]
    "aoColumns": [
    {
    "bSortable": false,
    "bUseRendered": false,
    "fnRender": function ( oObj ) {
    return '';
    }
    },
    [/code]
This discussion has been closed.