We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Solved[how to set position of toast?]

Thread ID:





146357 Aug 1,2019 08:32 AM UTC Aug 5,2019 07:01 AM UTC React - EJ 2 3
Tags: Toast
safronco safronco
Asked On August 1, 2019 08:32 AM UTC

i'm confusing after read toast React Syncfusion documentation for set position.
any clear example for this configuration?
i want set my toast to top right.

Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 3, 2019 04:53 AM UTC

Hi safronco, 
Greetings from Syncfusion support. 
In documentation we have documented Toast position sample to expose different possibility combinations of position. For the purpose of exposing feasibility of using position api, we used Dropdownlist, radio buttons and button components in sample. So that it may seems many lines of code being used. 
For your convenience we have prepared a simple sample as per your requirement: https://stackblitz.com/edit/react-zckwrm 
Please find the reference for position API: https://ej2.syncfusion.com/react/documentation/api/toast/#position 
Narayanasamy P. 

safronco safronco
Replied On August 3, 2019 09:24 AM UTC


    constructor() {
        this.position = { X: 'Right', Y: 'Top' }

Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 5, 2019 07:01 AM UTC

Hi Safronco, 
Most welcome. 
We are glad to hear that your issue has been resolved at your end. 
Narayanasamy P. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon