Get header data from a table
Get header data from a table
oho
Posts: 6Questions: 0Answers: 0
Hi,
what I'm trying to do is:
I wanna read the data from a specific part of the table header. I'm thinking of something like [code]oTable.fnGetData()[/code]
but for the header data - somehow like
[code]oTable.fnGetHeaderData()[/code]
or
[code]
oTable.fnGetHeader()[/code]
Sorry if that didn't come out clearly.
I'll give an example:
The HTML-table would be like:
[code]
A
B
C
cell 1
cell 2
cell 3
[/code]
I want to use a function - for example in cell 2 - that returns "B" because that would be the corresponding header for this cell.
Is there a way to do so?
Thank you.
what I'm trying to do is:
I wanna read the data from a specific part of the table header. I'm thinking of something like [code]oTable.fnGetData()[/code]
but for the header data - somehow like
[code]oTable.fnGetHeaderData()[/code]
or
[code]
oTable.fnGetHeader()[/code]
Sorry if that didn't come out clearly.
I'll give an example:
The HTML-table would be like:
[code]
A
B
C
cell 1
cell 2
cell 3
[/code]
I want to use a function - for example in cell 2 - that returns "B" because that would be the corresponding header for this cell.
Is there a way to do so?
Thank you.
This discussion has been closed.
Replies