The CreatorCon Call for Content is officially open! Get started here.

Hide or remove the hamburger button

Chronos
Tera Contributor

Hi Everyone ,

Is there a way to hide or remove the "hamburger button" ?

find_real_file.png

1 ACCEPTED SOLUTION

Markus Kraus
Kilo Sage

You can do it per-page where data table widgets are used (shown below). If you want to affect all data table widgets across the platform you can instead use a CSS dependency (open the OOTB data table widget and add a new CSS dependency).

"Per-Page Way":

Add this to the page specific CSS:
find_real_file.png

 

Result:
find_real_file.png

View solution in original post

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Why to hide? Is it a business requirement?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes, Is it a business requirement

Kieran Anson
Kilo Patron

The OOB widget-data-table doesn't allow for just hiding the context menu, the only available option with out modification is by hiding the entire header. You can do this by specifying the "hide_header" option and setting it to true as part of your table instance options.

find_real_file.png

With the value set to true

find_real_file.png

Without the value set to false / not specified

find_real_file.png

Is there a way to keep or create a name like Incident ?
That is, keep the text in the header but only hide "hamburger button"