ui-grid
ui-grid copied to clipboard
UI-Grid does not refresh the celltemplate after updating columndefs and calling gridapi.core.refresh
https://codepen.io/desean1625/pen/XGJVJQ create column defs with celltemplate remove a column from data and columndefs refresh grid
celltemplate stays applied to the original cell and doesn't follow the new columndef
- [x] This is a bug report, not a question on how to use the grid.
Use Stack Overflow or Gitter for questions. - [x] You have searched the open issues to see if this bug has been filed before. We don't want duplicate issues.
- [x] You have reviewed the tutorials and documentation to ensure you are using the grid correctly. ui-grid.info
- [x] You are using the latest version of the grid. Older versions are not patched or supported.
- [x] You have provided steps to recreate your bug. A plunkr is even better. https://codepen.io/desean1625/pen/XGJVJQ
Workaround is ng-if on parent container to remove ui-grid completely, then after digest cycle add ui-grid back in.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Have the same problem, i change column width and cellTemplate in columnDefs manually, then refresh grid with gridApi.core.refresh() - nothing happens, seems like new width is set on the new digest cycle (not cuz of refresh()), but cell template still not changed
same issue here