Hi guys,
How to give color for custom button ,pls any one help me
Thanks for advance
Hi guys,
How to give color for custom button ,pls any one help me
Thanks for advance
Thanks for rly @ahmadRagheb
i added button but how to give color pls tell me the syntax for color
i tried like this but it’s not worked,
frm.custom_buttons[“Your button label”].css(“background-color”, “red”);
Example For applying Custom color on custom button
cur_frm.add_custom_button(__("Your button label")).addClass("btn-warning").css({'color':'black','font-weight': 'bold'});
![]()
thanks @ROHAN_JAIN1
It’s workked