Skip to content

exception in Grid.prototype.preCompileCellTemplates #3172

@yurigenin

Description

@yurigenin

When I load column definitions asynchronously but a couple of columns already exists (like selection header and another fixed column) sometimes I get an exception in the Grid.prototype.preCompileCellTemplates on this line:
var html = col.cellTemplate.replace(uiGridConstants.MODEL_COL_FIELD, self.getQualifiedColField(col));

The cellTemplate property does not exist but cellTemplatePromise property is there. It looks like the cell template is still being downloaded and Grid.prototype.preCompileCellTemplates is called prematurely.
Unfortunately I cannot create a plunker but you probably should know what is going on?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions