Datatable header menu doesn't reflect the display (hiden flag) of column

Hello,

Example:
http://webix.com/snippet/777ec6d3

The 4th column is hiden (train) but in the contextual header menu the column is indicated as displayed.
When I click on Train (in Header contextual menu) that generate a error (the column is already hiden).

Regards,

You can do it like next

http://webix.com/snippet/e9f8cc04

When you are providing the custom list for the menu, datatable will use it as is, without changing anything. So a hidden state needs to be defined as part of the initial configuration.

Thanks

I think that is great if this parameter is added in documentation:
http://docs.webix.com/datatable__headermenu.html (Section: Extended Configuration)