Hidden Columns

Hidden Columns

genialgenial Posts: 9Questions: 0Answers: 0
edited October 2011 in General
HI,
I have problem in reading the data from the hidden column. i have hid a column using "aoColoum:{"sVisible":fakse} that is holing my row id,
i want to read that id for my further operations on the datatabel.

Thank you

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    Can you give more details about how/when you want to access this value?

    i.e. on a click? button? or while looping through all rows after the data is loaded?

    I'll give one example:

    if you're accessing the data when you have clicked on the row:
    1. get the row based on the click
    2. get DT's internal data for that row using http://www.datatables.net/ref#fnGetData
    id = oTable.fnGetData(nTr, iCol); // where iCol is the column number that has the data you want
This discussion has been closed.