Can't update footerCellTemplate

219 views
Skip to first unread message

mportugal

unread,
Aug 14, 2016, 10:31:02 PM8/14/16
to UI-Grid Support

Hello,

I have a grid with its columnDefs containing footerCellTemplate which has a value.
I want to be able to change this value in the footerCellTemplate but while I'm changing it , it's updated in the columnDefs but not rendered again.

I have tried everything I knew to force the refresh of the footer but nothing worked.
gridApi.core.notifyDataChange(uiGridConstants.dataChange.COLUMN);
gridApi.core.queueGridRefresh();
gridApi.core.queueRefresh();

http://plnkr.co/edit/SnPIocr9rUdIY82Pitzv?p=preview


- @kimkaid

mportugal

unread,
Aug 14, 2016, 10:32:05 PM8/14/16
to UI-Grid Support
I was able to get your plunker working by updating your partial to the following:

'<div> {{grid.appScope.myValue}} Base template</div>'

See my plunker here:
Reply all
Reply to author
Forward
0 new messages