table() is a top level method - it is not a child of column(), so this is fully expected and correct in how the DataTables API works. When you call a top level method will to change the context to that method's return object.
Can you explain what your goal is? I will hopefully be able to help come up with an answer.
To answer your specific question, you can't get the table() and retain the column context - that isn't how the API works. However, I'm sure there will be a way to do whatever you ultimately need to do, but I don't know what your end goal is?
Answers
table()
is a top level method - it is not a child ofcolumn()
, so this is fully expected and correct in how the DataTables API works. When you call a top level method will to change the context to that method's return object.Allan
@allan so what's a better way to get the table if I have a column? Without altering the column context for sure.
Can you explain what your goal is? I will hopefully be able to help come up with an answer.
To answer your specific question, you can't get the
table()
and retain the column context - that isn't how the API works. However, I'm sure there will be a way to do whatever you ultimately need to do, but I don't know what your end goal is?Allan