How disable the anchor item

Hi Experts,

Here i want to hide the first item that means first anchor link, i was written the below webix code to disable, So “webix_disabled” class is applying for it, but it is not working. Any idea…

please help me urgent!!!

webix code:-

var sendItemmenu = actionBarItems[0];
var sendItemmenuID = sendItemmenu.id;
$$("dynamicActionToolBar").disableItem(sendItemmenuID);

Here is my HTML Code:-

<div id="dynamicMenu">
<div class="webix_view webix_menu-x dynamicActionMenu" view_id="dynamicActionToolBar" style="width: 519px; height: 27px; margin-left: 10px; opacity: 1;">
<div class="webix_scroll_cont">
<a webix_l_id="SendItems" class="webix_list_item webix_icon fa-send webix_disabled" style="width:auto; height:27px; overflow:hidden;"></a>
<a webix_l_id="Edit" class="webix_list_item webix_icon fa-edit" style="width:auto; height:27px; overflow:hidden;"></a>
</div></div></div>

There is a separate API for item hiding - hideItem

http://docs.webix.com/api__link__ui.submenu_hideitem.html