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

Problem with grid data when it's override

Thread ID:

Created:

Updated:

Platform:

Replies:

143150 Mar 6,2019 02:42 PM UTC Mar 12,2019 03:35 AM UTC ASP.NET Core 3
loading
Tags: Grid
Neider
Asked On March 6, 2019 02:42 PM UTC

Hi, I have a grid with grouping columns, but, when I resize window and the value override the size of the column, the value of the sum does't ajust.

This is my grid and my code:


My grid code:

<ej-grid id="GridT" allow-resizing="true" allow-multiple-exporting="true" toolbar-click="toolbarClick1" is-responsive="true" allow-grouping="true"
             locale="@(System.Globalization.CultureInfo.CurrentCulture.Name.ToString())">
        <e-group-settings caption-format="{{:key}}" show-drop-area="false" grouped-columns="GroupedCols"></e-group-settings>
        <e-toolbar-settings show-toolbar="true" toolbar-items=@(new List<string>() {"excelExport" })></e-toolbar-settings>
        <e-columns>
            <e-column field="ProductAndRate" header-text="@Localizer["Product"].Value" text-align="Left" width="200" template-id="#ppTemplateDetails"></e-column>
            <e-column field="PClass" header-text="ProductClass" visible="false"></e-column>
            <e-column field="PreviousBalance" header-text="@Localizer["Previous Balance"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="BoughtAmount" header-text="@Localizer["Bought Amount"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="CalculatedValuation" header-text="@Localizer["Valuation Amount"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="PaidRevenueAmount" header-text="@Localizer["Paid Amount"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="OtherIncome" header-text="@Localizer["Other Income"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="SoldAmount" header-text="@Localizer["Sold Amount"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="BalanceAmount" header-text="@Localizer["Final Balance"].Value" text-align="Right" format="{0:N2}"></e-column>
            <e-column field="XIRR_value" header-text="@Localizer["TIR"].Value" text-align="Right" format="{0:P2}"></e-column>
        </e-columns>
        <e-summary-rows>
            <e-summary-row title="Total" show-total-summary="true" show-caption-summary="true">
                <e-summary-columns>
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="PreviousBalance" datamember="PreviousBalance" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="BoughtAmount" datamember="BoughtAmount" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="CalculatedValuation" datamember="CalculatedValuation" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="PaidRevenueAmount" datamember="PaidRevenueAmount" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="OtherIncome" datamember="OtherIncome" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="SoldAmount" datamember="SoldAmount" />
                    <e-summary-column summary-type="Sum" format="{0:N2}" display-column="BalanceAmount" datamember="BalanceAmount" />
                </e-summary-columns>
            </e-summary-row>
        </e-summary-rows>
    </ej-grid>

Thanks.

Vignesh Natarajan [Syncfusion]
Replied On March 7, 2019 05:25 AM UTC

  
Hi Neider, 
 
Thanks for using Syncfusion products.  
 
Query : when I resize window and the value override the size of the column, the value of the sum does't ajust. 
 
From your query, we understand that you are facing issue with groupCaption summary. We have prepared a sample as per your suggestion and we are also able to reproduce the issue on our side. To avoid the issue we suggest you to apply the following css to the Caption Summary like in the below code example. 
 
 
<style> 
 
  .e-groupcaptionsummary{ 
          word-wrap:break-word; 
  } 
 
</style> 
 
Please get back to us if you have further queries.   
 
Regards, 
Vignesh Natarajan 
 


Neider
Replied On March 11, 2019 03:07 PM UTC

It works, thanks :)

Vignesh Natarajan [Syncfusion]
Replied On March 12, 2019 03:35 AM UTC

Hi Neider, 

Thanks for the update. 

We are glad to hear that your query has been resolved by our solution. 

Please get back to us if you have further queries. 

Regards, 
Vignesh Natarajan. 


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