Freeze First Column ( e.g Incident Number) in List View

Deepali Patole1
Tera Contributor

I have a requirement from my client to Freeze the first column on the table in list view. Just like freeze row and column in excel. By feature service now is providing this feature on the top (header row), however this is not available to freeze numbers (which is unique). Any assistance may help.

3 REPLIES 3

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Unfortunately there is currently no way you can freeze the first column in the list view .

 

Please mark my answer as correct based on Impact.

Mira1992
Kilo Sage

Hello Deepali,
I found this:
https://www.servicenow.com/community/developer-forum/how-do-we-freeze-columns-not-column-headers/m-p...

Solution from  Ravish Shetty

one of our team members was able to define the below field style for the field and able to freeze the data of the column in the list view. the solution is not ideal but it worked for the users.

 

Mira1992_0-1723215183587.png

 

 

Style:

background-image: url('images/sa.alerts_severity/warning16x16.jpg');
font-size:15px;
color:black;
position: -webkit-sticky;
position: sticky;
width: 100px !important;
min-width: 100px;
max-width: 100px;
min-height: 100%;
left: 0px;



I was able to reproduce and this is the result on the Incident table:

Mira1992_0-1723217210303.png

 

Mira1992_1-1723217234919.png