I am trying to open all drawers on page load. I did created a table which have multiple rows and each row has drawer. I want all of them open ob page load. Tried many solution but still not working. Tries to open all of them using below code
$(‘#sk-zBf-1633’).find(‘table:first > tbody’).children(‘.nx-item’).not(‘.nx-item-has-drawer’).click();
or
$(‘#sk-zBf-1633’).find(‘table:first > tbody’).children(‘.nx-item’).not(‘.nx-item-has-drawer’).find(‘.sk-icon-magic’).click();
or
$(‘#sk-zBf-1633’).find(‘.nx-list-contents:first’).children(‘.nx-queue-item’).not(‘.nx-item-has-drawer’).click();
None of them is working
The actual XML of this page is as below:
{{clcommon__Product_Name__c}}
{{Model.label}}
(function(skuid){
var $ = skuid.$;
$(‘#sk-zBf-1633’).find(‘table:first > tbody’).children(‘.nx-item’).not(‘.nx-item-has-drawer’).click();
})(skuid);
thead {
visibility:hidden;
}
.sk-drawer-handle {
visibility:hidden;
}