sc_btn_display() macro not working in grid app

SC 9.4.012

I have a grid with whis code in the onScriptInit event:


echo "pre";
sc_btn_display('new','off'); 
echo "post";

When run, the echos output is shown, but the New record button on the grid is displayed;
i.e. the sc_btn_display macro has no effect at all.

Am I the ony one with this issue?

I’m pretty sure I used this macro in the past and it worked.

same here, back then i used this macro to show button to “add new data”, but now it seems stop working