Problem with class name


#1

Problem with class name when deleting tab bar

Let me give you an example.
I added three more tab bars
<li class=“tab a” dhx_tabid=“1” ~> </li>
<li class=“tab b” dhx_tabid=“2” …> </li>
<li class=“tab c” dhx_tabid=“3” …> </li>

A, b, and c are classes added to give other css.
If I close the “tab a”,
<li class=“tab b” dhx_tabid=“2” …> </li>
<li class=“tab c” dhx_tabid=“3” …> </li>
There’s supposed to be some left

<li class=“tab a” dhx_tabid=“2” …> </li>
<li class=“tab b” dhx_tabid=“3” …> </li>
However, The result is this.

How can we solve this?
Help me.

<li class=“tab b” dhx_tabid=“2” …> </li>
<li class=“tab c” dhx_tabid=“3” …> </li>
I want to get this result.


#2

Could you please, clarify what component are you using?
I was not able to reconstruct your issue in the dhx.Tabbar:
https://snippet.dhtmlx.com/sz4ocak9
Also, the node elements of the tabbar differ from your mentioned elements.

If the problem still occurs for you could you please, provide a complete demo or a snippet, where the problem can be reconstructed.


#5

I was not able to reproduce your problem.
The following code seem to work well:
https://snippet.dhtmlx.com/281jme9f
If the problem still occurs for you please, provide a complete demo or a snippet, where the problem can be reconstructed locally.


#6

What I needed was tabCss. Thank you. I solved the problem!