Datatable hideColumn

Hi,

please take a look to this snippet:
https://snippet.webix.com/csqkyhf4

What I want to do: I want to hide the column “title” in the UI (works), but I want to get the data of all shown and all hidden columns.

How can I achieve this?

Hello,
You can get any value from the row by using:

dtable.getValue().{property}

where property is the name of the column.

As for hidden columns themselves - you can use the getState method to get the list of hidden columns.

Hi Nastja,

thanks for reply!
Unfortunatelly getValue is not a function of datatable…
Could you please provide your solution within a short snippes?

Thanks!

Oh, yes, sorry. It’s possible to get values by getItem method

$$('someid').getItem();

Also, you can use serialize method
Something like this
https://snippet.webix.com/g42gic24