How to hide/show resourceGrid left panel?

I’m playing with this sample Assign resource values to specific days

and I want to hide left panel (resourceGrid) of resource control section.

Gantt section allows to do this by using gantt.config.show_grid = false;

The result is ugly, because left panel (Name, Workload) of resourceGrid is still visible.

Hello Dmitriy,
You need to create several layout configurations (with and without the grid) and switch between them. Or you can generate a layout by using the layout views.
Then you need to reinitialize Gantt to see the changes:
https://docs.dhtmlx.com/gantt/desktop__layout_config.html
https://docs.dhtmlx.com/gantt/api__gantt_init.html
Here are examples:
http://snippet.dhtmlx.com/5/87460cdcf
https://snippet.dhtmlx.com/5/9386fc962
http://snippet.dhtmlx.com/5/4c4ce6aea
http://snippet.dhtmlx.com/5/87e3df4f6

Hi, Ramil!
Thank your for your fast answer!

First example - is exactly what I need. Thank you so much!
http://snippet.dhtmlx.com/5/87460cdcf