Get Column Name

Get Column Name

OzanCKNOzanCKN Posts: 2Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
Hi everyone;
I cant get name of column clicked row.
I need , this examples like,
columns["columnName"].row[clickedIndex]

Because we are coding very dynamically complex platform.
Sorry for bad english, thanks

Replies

  • OzanCKNOzanCKN Posts: 2Questions: 0Answers: 0
    ?
  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Have you named the column using sName? Currently there isn't actually a way of getting the name of a column, but in v1.10 you will be able to use the name (sName) as a selector:

    [code]
    table.column( 'myColumn' ).data();
    [/code]

    For example...

    Allan
This discussion has been closed.