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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I need some help binding a variable passed from another page to GridColumn.HeaderText

Thread ID:

Created:

Updated:

Platform:

Replies:

141103 Nov 23,2018 04:34 PM UTC Nov 29,2018 04:44 AM UTC Xamarin.Forms 3
loading
Tags: SfDataGrid
Marcelo
Asked On November 23, 2018 04:34 PM UTC

Hi Guys,

I've currently encountered a problem with SfDatagrid for Xamarin.Forms.

My Datagrid has a GridColumn.HeaderText with some text that change according to a variable passed from another page.

Any way to bind that variable using XAML?
.

Thanks in Advance,
Marcelo

Vigneshkumar Ramasamy [Syncfusion]
Replied On November 26, 2018 06:40 AM UTC

Hi Marcelo 
 
Thanks for contacting Syncfusion support. 
 
We have checked you query with “My Datagrid has a GridColumn.HeaderText with some text that change according to a variable passed from another page.” And your requirement can be achieved by having a header property in ViewModel and accessing the same property from two pages. We have prepared a sample for the same and please find the sample form the below link. 
 
 
Please let us know if this helpful. 
 
Regards 
Vigneshkumar R 


Marcelo
Replied On November 28, 2018 01:26 PM UTC

Thanks a lot!!! It´s very useful Vigneshkumar

Vigneshkumar Ramasamy [Syncfusion]
Replied On November 29, 2018 04:44 AM UTC

Hi Marcelo, 
 
We glad to know that your requirement has been achieved. Please get in touch if you required further assistance on this. 
   
Regards 
Vigneshkumar R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon