angular-ui/ui-grid

Error on second display of modal, 'Error: [$compile:ctreq] Controller 'uiGrid', required by directive 'uiGridHeaderCell'

Open

#4421 aperta il 23 set 2015

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I am getting the 'Error: [$compile:ctreq] Controller 'uiGrid', required by directive 'uiGridHeaderCell', can't be found!' error when trying to implement a custom filter modal. The same error is reproducable in the custom filter tutorial (http://ui-grid.info/docs/#/tutorial/306_custom_filters). Both errors appear only upon the second load of the modal and don't seem to cause any functionality problems but it would be great to have a way to get rid of them. To reproduce it in the Grid UI custom filter tutorial click on the '...' on the Age header then click filter to close it, then click on '...' again. On the second time the error below will appear.

Produced by my custom filter modal: image

Prouded by the custom filter modal in the Grid UI tutorial (). The error will display on the second time. image

Guida contributor