HIDE button on TASK Table for particular groups
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 01:47 AM
HI All,
Request you to check the below code and help me,
Assignment group value is also getting from the TASK TABLE only.
function onLoad() {
var assgrp = g_form.getReference('assignment_group');
$$('button[data-action-name^=state_model]').each(function (e) {
// if assignment group from TASK table is HARDWARE , button should visible.
if (assgrp == 'HARDWARE') {
alert("Assignment group" + assgrp);
e.show();
}
else {
e.hide();
}
});
}
Thanks in Advance
0 REPLIES 0