Problem with toolbar grid in Tabs on Mobile

Hello,


When I'm on a Mobile device and go to the tab with the grid, the toolbar doesn't show properly. I use tabs with content template
As You can see with the Image. 



Attachment: SyncfusionWebApplication2_8e5def65.rar

1 Reply 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team June 23, 2020 12:53 PM UTC

Hi Theofilos, 

Greetings from Syncfusion Support. 

We have validated your reported scenario “Problem with toolbar grid in Tabs on Mobile” at our side and we could replicate the toolbar misalignment problem in the shared sample. And we suggest you to use the below code snippet in the selected event of the tab to overcome the toolbar misalignment problem. 

function tabSelected(args) { 
    if (args.selectedIndex === 0) { 
        var gridObj = document.getElementById('DataGrid').ej2_instances[0]; 
        gridObj.refresh(); 
    } 
} 


Kindly try the above solution and let us know if this is helpful. 

Regards, 
Balasubramanian S 


Marked as answer
Loader.
Up arrow icon