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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridTemplateColumn when used in On Demand paging

Thread ID:





114576 Nov 25,2013 08:21 PM UTC Nov 29,2013 07:00 AM UTC WinRT 1
Tags: SfDataGrid
Richard Noake
Asked On November 25, 2013 08:21 PM UTC

I have a data grid with a Template Column, note this has a Button in the data template and this has a Visibility Converter. If no note exists then the button is not shown. All works fine for items in my List<T>.
However when used with On Demand Paging the rows the Pager adds; e.g if page size is 10 and my list contains 15 items then page 2 has 15 actual items plus 5 (blank) rows added by the pager. These rows ALL have the Button shown even if I set the visibility converter to only return Visibility.Collapsed. 
How do I hook in to the added rows and hide the buttons?
	HeaderText="NOTES" MappingName="Note" MinimumWidth="110" AllowSorting="False" AllowFiltering="False" DisplayBinding="{Binding Note}">
		<AppBarButton  Visibility="{Binding Note,Converter={StaticResource stringToVisibilityConverter}}" 
			Margin="0,0,12,0" Label="Note"
			FontSize="21" Foreground="Gold" 
			HorizontalAlignment="Center" VerticalAlignment="Center">
			<SymbolIcon Symbol="Preview"/>
				<StackPanel Width="Auto">
                                    <TextBlock x:Name="ValueTextBox" Text="{Binding Note}"/>

Narayanasamy J [Syncfusion]
Replied On November 29, 2013 07:00 AM UTC

Hi Richard,


Thanks for using Syncfusion Products.


We have analyzed query. We are able to reproduce the issue and to avail the patch for this issue, we have created an incident 116291 for following this issue using your Direct-Trac account.Could you please follow the incidents for further updates.


We are glad to let you know that this issue will be fixed and included in our upcoming volume 1 2014, release.





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