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

EnableRtl() is not affecting Toolbar

when i  called EnableRtl()  function  the gird changed  but the toolbar still LTR   . how can i solve that isso?

Attachment: Untitled_a18cab7f.rar

1 Reply

PS Pavithra Subramaniyam Syncfusion Team April 4, 2019 06:59 AM UTC

Hi Mohamed, 
 
Thanks for contacting Syncfusion support. 
 
We have tried to reproduce the issue at our end but it is unsuccessful. We have prepared a simple sample based on your query. Please refer to the below code example, screenshot, sample link and documentation link for more information. 
 
Please refer the following code snippet to enable RTL in your Grid. 
 
@Html.EJS().Grid("Grid").DataSource((IEnumerable<object>)ViewBag.data).EnableRtl(true).AllowGrouping(true).AllowPaging(true).AllowFiltering().Columns(col => 
{ 
    ... 
 
}).Toolbar(new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel", "ExcelExport", "PdfExport", "CsvExport"}).Render() 
 
Screenshot for RTL enabled Grid: 
 
 
 
 
 
 
Could you please provide the below details that will be helpful for us to provide a better solution as early as possible. 
 
  1. Share your Grid code.
  2. Share your Syncfusion package version.
  3. Please try to reproduce the issue in the above sample if possible
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon