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

Button below SfDataGrid

Hello,

I'm using Xamarin Forms and SfDataGrid. I want to add several buttons below SfDataGrid.
I see that SfDataGrid extends Xamarin.Forms.Grid, but add a button as a child of SfDataGrid does not work.

In fact I want to know if there is a way to not have SfDatagrid in full screen. I don't know how to achieve that.

Regards

1 Reply

VP Vimal Prabhu Manohkaran Syncfusion Team July 8, 2016 07:08 AM UTC

Hi Bres,

Thank you for contacting Syncfusion Support. 

Your requirement of loading buttons below the grid can be achieved by loading the SfDatagrid inside a GridLayout or StackLayout. We have prepared a sample based on your requirements where we have loaded few buttons below the grid using a GridLayout. Please refer the below screenshot for the final outcome.


 


Sample Link : https://www.syncfusion.com/downloads/support/forum/124901/ze/ButtonBelowGrid-2002674725
 
Please refer the following KB link to load SfDataGrid inside a StackLayout 

KB Link : https://www.syncfusion.com/kb/6169/how-to-load-sfdatagrid-in-a-stacklayout
 
Regards,
Vimal Prabhu


Loader.
Live Chat Icon For mobile
Up arrow icon