Syncfusion Angular Fixed Position Toolbar

Hi there,

I'm trying to set the toolbar fixed at the top of the page. By default it scrolls with the page.

I've tried using CSS:
     positionfixed;
  width:100%
but it does not display correctly.

Is there a way that this is done?
Thanks

3 Replies

RV Ravikumar Venkatesan Syncfusion Team April 9, 2020 05:55 AM UTC

Hi Ervin, 

Greetings from Syncfusion support. 

We have validated your query and based on that we have prepared the below sample with the help of CSS style like below. 

[app.component.css] 
.e-toolbar { 
  position: sticky; 
  top: 0px; 
} 


Kindly try the above sample and get back to us If you would require any further assistance. 

Regards, 
Ravikumar Venkatesan 



EV Ervin van der Merwe April 9, 2020 10:48 AM UTC

Your support never fails! 
Thanks


NR Nevitha Ravi Syncfusion Team April 10, 2020 05:01 AM UTC

Hi Ervin, 

Your are most welcome. Keep in touch with us for further queries as we are always happy in assisting you. 

Regards, 
Nevitha 


Loader.
Up arrow icon