Align toolbar items to right of datagrid

I have a datagrid with a toolbar that only includes the Add button.  I would like to align that button to the right.  How would I go about doing that?

The image shows the Add button on the left.

Thank you






3 Replies

RS Renjith Singh Rajendran Syncfusion Team December 8, 2021 09:54 AM UTC

Hi Carl, 
 
Greetings from Syncfusion support. 
 
Based on this scenario, we suggest you to apply styles to achieve this requirement. Please add the below style to align the Add toolbar button to right.  
 
 
<style> 
   .e-toolbar{ 
        text-align:right; 
   } 
</style> 
 
 
Please get back to us if you need further assistance. 
 
Regards, 
Renjith R 



CA Carl December 8, 2021 11:24 AM UTC

That worked thank you.



RS Renjith Singh Rajendran Syncfusion Team December 9, 2021 04:26 AM UTC

Hi Carl, 
 
Thanks for your update. Please get back to us if you need further assistance. 
 
Regards, 
Renjith R 


Loader.
Up arrow icon