Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get column data in Custom component #37

Closed
ssdimmanuel opened this issue Apr 1, 2020 · 2 comments
Closed

Unable to get column data in Custom component #37

ssdimmanuel opened this issue Apr 1, 2020 · 2 comments

Comments

@ssdimmanuel
Copy link

ssdimmanuel commented Apr 1, 2020

I am using a custom cell component which looks like below:

@Component({
  selector: 'app-cell-component',
  templateUrl: './custom-cell-view.component.html',
  styleUrls: ['./custom-cell-view.component.css']
})
export class CustomCellViewComponent implements OnInit {

  @Input()
  column: any;

  @Input()
  cell_value: string;

  @Input()
  row_data: any;

The cell_value & row_data values can be accessed but When I display the 'column' value it is undefined. What am is missing ?
Update:
In chrome debug mode, I do see the below:

<db-custom-cell-component ng-reflect-column="[object Object]"

@debabratapatra
Copy link
Owner

I have pushed a fixed. Try now.

@ssdimmanuel
Copy link
Author

fix provided in v2.8.5 is working perfect. Thanks for the quick fix. appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants