swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

Unable to create custom checkbox #835

Open Aj-19 opened 7 years ago

Aj-19 commented 7 years ago

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

The custom checkbox and checkbox source from documentation are taking me to the same selection-chkbox.component.ts file. Please tell me how to add custom checkbox.

Expected behavior

To have a different file to know how to create/use custom checkbox.

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

adammedford commented 7 years ago

@Aj-19 this is the link for the custom checkbox template demo https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox-template.component.ts

@amcdnl just a heads up, the 'Source' link on the custom checkbox demo directs to https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox.component.ts instead of the above