question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

data grid footer template issue

See original GitHub issue

The summary is not working in data grid if the data is coming from a service after ngOnInit is executed. Because of the condition this.data?.length > 0 && !this.loading https://github.com/ng-matero/extensions/blob/65979c57e62c6a0412618d2a4a86ddfa105c2921/projects/extensions/data-grid/grid.component.ts#L157

Is there any reason for this conditions? I think this.showSummary is enough

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nzbincommented, Jun 7, 2020

I have modified conditions to fix this issue, the reason is that foot row won’t be updated with data changes.

1reaction
nzbincommented, May 23, 2020

I will try it, thanks for your advice.

Read more comments on GitHub >

github_iconTop Results From Across the Web

datagrid footertemplate - MSDN - Microsoft
I have a datagrid that binds to a datasource fine. When the "Add" button is clicked, it displays a blank new row. Then,...
Read more >
Datagrid show allow footer extension template that supports ...
As the grid provides a header for aligning data columns, naturally there should be a means to placing tabular data in a special...
Read more >
Kendo grid Footer template issue - Telerik
Hi In our project, we need a footer template design in the Kendo grid. So we have used a Footertemplate property inside the...
Read more >
DataGrid - How to display custom content in the footer
Hi, I have following issue: I have a datagrid where I show some itens; ... I need to create for each column a...
Read more >
Footer aggregates template problem | Vue Forums - Syncfusion
In my project, I'm showing Data Grid by passing a URL of Json data to the grid and looping throught column headers with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found