Can we remove system generated buttons in rollbse. If yes then how can we remove these buttons.
Hi Tyagi,
You can hide buttons generated by Rollbase using the code below. Paste the code to a script component where you want to hide the buttons.
<script type="text/javascript">
$(function() {
hideButton(' Edit '); // Example for hiding the Edit button
});
function hideButton(buttonName) { //Use this function to hide buttons
$("input[value='"+ buttonName +"']").hide();
}
function removeButton(buttonName) { //Use this function to remove the button element
$(input["value='+ buttonName +"']").remove();
}
</script>
Hope this helps.
Regards,
Godfrey
Please clarify what do you mean by "system generated buttons".
Hi Tyagi,
You can hide buttons generated by Rollbase using the code below. Paste the code to a script component where you want to hide the buttons.
<script type="text/javascript">
$(function() {
hideButton(' Edit '); // Example for hiding the Edit button
});
function hideButton(buttonName) { //Use this function to hide buttons
$("input[value='"+ buttonName +"']").hide();
}
function removeButton(buttonName) { //Use this function to remove the button element
$(input["value='+ buttonName +"']").remove();
}
</script>
Hope this helps.
Regards,
Godfrey