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

Data grid - group caption summary not updating if using caption summary template

Thread ID:

Created:

Updated:

Platform:

Replies:

142954 Feb 26,2019 08:09 PM UTC Mar 15,2019 03:49 AM UTC Xamarin.Forms 8
loading
Tags: SfDataGrid
Damian
Asked On February 26, 2019 08:09 PM UTC

Hello,

I have problems with updating group summary - it doesn't work when using Caption Summary Template - without setting this it works fine. I'm using following code to update summary after end editing cell:
_dataGrid.View.TopLevelGroup.UpdateCaptionSummaries();
_dataGrid.View.Refresh();

Should I add something when using template?

Pradeep Kumar Balakrishnan [Syncfusion]
Replied On February 27, 2019 02:29 PM UTC

Hi Damian, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your query “How to update caption summary template view text in run time.” we have assigned value in converter for caption summary template view it cannot be called in runtime.  
However we are trying to update the caption summary template view text in runtime. we will update you further details on March 1,2019. we appreciate your patience until then. 
 
Regards, 
Pradeep Kumar B 


Damian
Replied On February 27, 2019 05:58 PM UTC

Ok, thanks for the info

Subburaj Pandian Veluchamy [Syncfusion]
Replied On February 28, 2019 06:54 AM UTC

Hi Damian, 
 
Thank you for the update. As mentioned, currently we are validating this requirement and we will update you the details by March 1, 2019. We appreciate your patience until then. 
 
Regards,
Subburaj Pandian V  
 
 


Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 4, 2019 02:05 AM UTC

Hi Damian, 

Thank for your patience. 

We have checked your requirement “Caption summary template values are need to be updated after editing”. Please enable following property it will refresh the view after editing and caption summary will be updated after editing. 

Code snippet: 
LiveDataUpdateMode="AllowDataShaping" 

We have also attached the sample for your reference. 

Regards, 
Pradeep Kumar B 


Damian
Replied On March 5, 2019 07:42 PM UTC

Hi,

thanks for the answer but I'm afraid it's not fully working - its updating the caption but only when I scroll out of the screen and then scroll back again. I attached sample code.

Attachment: sample_c05f2c9c.zip

Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 7, 2019 03:54 AM UTC

Hi Damian, 
 
Sorry for the inconvenience caused. 
 
It’s our fault we have refreshed the DataGrid in button click for checking purpose then I have shared the sample to you without that code. But the sample crashed when we refreshed the datagrid in CurrentCellEndEdit. We will update you the solution or details about the issue on March 8,2019. 
 
Regards, 
Pradeep Kumar B     


Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 14, 2019 01:50 AM UTC

Hi Damian, 
 
Thank you for your patience. 
 
We have not found solution to update the caption template text after end editing in respective grouped data. We are still working on this requirement. we have not defined binding context for the template view hence we cannot able access it's respective row data to update the row. but we will find an solution for your requirement. we will update the further details on March 14 , 2019 . we appreciate your patience until then. 
 
Regards, 
Pradeep Kumar B  


Pradeep Kumar Balakrishnan [Syncfusion]
Replied On March 15, 2019 03:49 AM UTC

Hi Damian, 
 
Thank you for your patience. 
 
we cannot able to achieve your requirement in sample level. Hence we have locked an report to provide support to update caption summary template view binding context. And this support will be available in 2019 Volume 1 service pack 1. Which is expected to be rollout on end of April ,2019. We appreciate your patience until then. 
 
Regards, 
Pradeep Kumar B 


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

;