I use kintone.app.record.getSpaceElement().style.display = “none” to hide but it is still there. How to hide the space element so that it won’t be shown on page?
kintone.app.record.getSpaceElement(‘space_for_create_button’).disabled = true;
kintone.app.record.getSpaceElement(‘space_for_update_button’).disabled = true;
kintone.app.record.getSpaceElement(‘space_for_create_button’).style.display = “none”;
kintone.app.record.getSpaceElement(‘space_for_update_button’).style.display = “none”;