How to access column name

How to access column name

ketnaketna Posts: 8Questions: 4Answers: 0

Hi,

I am traying to access column name for filtering purpose. If there is more columns filtered it is uncomfortable to check what is column index.
I was trying to access by name (e.g. 'data.status') by with no luck. I would be grateful for help.

```columns:[
``` { data: "status", searchable: true }, ...

and searching:

```xTable.column(**data.status**).search(state, true, false).draw();

Thanks in advance.

Answers

Sign In or Register to comment.