Get active view name

Hi,

In dhtmlxlayout, how do I know the active view name?
I create many view:

var ContentZone = main_layout.cells(‘b’);

var CostsGrid = ContentZone.view(“costs”).attachGrid();

var barChartCustomer = ContentZone.view(“stat_customer”).attachChart({

I activate a view:
ContentZone.view(“costs”).setActive();

Later in my code, I would like to know the active view, how?
ContentZone.view(“costs”).getActive() ? → don’t work
ContentZone.view(“costs”).isActive(); ? → dont’t work
ContentZone.view().getName(); ? → dont’t work

what is th function to get the name of current active view?

where is API documentation of view?
setActive is the only function of view???

Hi
Here is a semo for you
layout.rar (109 KB)

Your demo not work, i have juste 2 panel


I added dhtmlxtoolbar.js that was not in your zip and now the demo works.

But she did not answer my question.
When I click on the “get view” button I get the id of the div tag (“obj1”, “obj2”, …), what I want is “v1”, “v2”, … .

How to get “v1”, “v2”, … when I click on the “get view” button?

Sorry about toolbar files…
There is no public approach, but you can use the next:

dhxLayout.cells("a").av