How Hide icon Select Columns?

Hi, i have a grid app, i am trying hide icon Select Columns from OnScriptIni event, But SC Does not Hide Nothing.

sc_btn_display(‘sel_col’, ‘off’);

That is in the Toolbar… you can hide/show it there.
Or do you only want to hide it occasionally?

I need hide from Onscriptinit event. Not from Toolbars.
if username is not admin then disable icon Display Columns.

one idea:
Generate the page WITH the toolbar->Sorting active.
Copy paste it into a doc

Then generate it again WITHOUT the toolbar-Sorting active.

Then go to https://text-compare.com/ and see what the changes are.
Then you might be able to hide it via CSS.

Try this

?>
<style>
   #selcmp_top {display: none !important;};
</style>
<?php

Hi, jlboutin60
Thank you for your Tip, it worked very well!!
I tested much ways and it does not worked…
Now is working fine. :wink: