Does the SF Data Grid for Xamarin.forms provide Calender, Show all /Hide all toggle, Multiline cell content. ????

Does the SFDataGrid provide Calender,Show all /Hide all toggle, Multiline cell content option ?

1 Reply

AN Ashok N Syncfusion Team August 22, 2017 10:12 AM UTC

Hi krishnakanth,  
  
Thanks for contacting Syncfusion support.  
  
Query: Show and Hide SfDataGrid records:  
You can clear and load the SfDataGrid using the below code example   
private void Button_Clicked(object sender, EventArgs e) 
{ 
    // viewModel is BindingContext and OrdersInfo is Binding ItemsSource 
    this.viewModel.OrdersInfo.Clear(); 
} 
private void Button_Clicked_1(object sender, EventArgs e) 
{ 
    this.viewModel.SetRowstoGenerate(100); 
}  
  
Query: Multiline cell content option  
You can achieve your requirment by setting GridColumn.LineBreakMode as WordWrap. Please refer the below code example   
 <sfgrid:SfDataGrid.Columns> 
     <sfgrid:GridTextColumn HeaderText="First Name"  
                            LineBreakMode="WordWrap" 
                            MappingName="FirstName"/> 
 </sfgrid:SfDataGrid.Columns>  
  
Please refer the below UG documentation link for finding more information about LineBreakMode .  
  
SfDataGrid will support DataTime type with help of GridDateTimeColumn. Please refer the below UG documentation link for finding more information about GridDateTimeColumn.  
  
  
Regards,  
Ashok  


Loader.
Up arrow icon