title: Ng2-smart-table custom Render component
body: <p>Im trying to use a custom Renderer component in my ng2-smart-table but am getting the following error.</p>
  
  <pre><code>No component factory found for undefined. Did you add it to @NgModule.entryComponents?
      at…, …}
  </code></pre>
  
  <p>Whats Strange is that the component says its undefined. </p>
  
  <p>My component looks like this.</p>
  
  <pre><code>import { Component, OnInit, Input } from '@angular/core';
  import { ChannelTableModeService } from '../../../../../../services/channel-table-mode.service';
  import { ViewCell } from 'ng2-smart-table';
  
  @Component({
    selector: 'app-channel-attribute-renderer',
    template: '{{renderValue}} --'
  })
  export class ChannelAttributeRendererComponent implements OnInit {
  
  constructor() { }
    renderValue: string;
    @Input() value: string | number;
    @Input() rowData: any;
    ngOnInit() {
       this.renderValue =  '&lt;' + this.value + '&gt;';
    }
  
  }
  </code></pre>
  
  <p>I've also made sure that the component is in the module.</p>
  
  <pre><code>    @NgModule({
        imports: [
          Ng2SmartTableModule,
          CommonModule,
          ChannelProfileRoutingModule,    
          VeexCommonModule,
          TranslateModule,
          FormsModule
        ],
        entryComponents: [ChannelAttributeRendererComponent, PasswordRenderComponent],
        providers: [ChannelTableModeService],
        declarations: [ PasswordRenderComponent, ChannelProfileComponent, ChannelTableComponent, ServiceTypeComponent, ServiceGroupComponent, ChannelPlanEditorComponent, ChannelAttributeRendererComponent]
      })
  
  export class ChannelProfileModule { }
  </code></pre>
  
  <p>So does anyone see the issue.  Why does he factory think that the component is undefined.</p>
  
  <p>The configuration form my smart table looks like this:</p>
  
  <pre><code>this.settings = { 
  columns: {
    'Channel': {title: 'Channel'},
    'Channel Label': {title: 'Channel Name'},
    'Video': {title: 'Video', type: 'custom', renderComponent: 
  PasswordRenderComponent}
  }}
  </code></pre>