question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Checkbox "check all" in header does not appear

See original GitHub issue

I’m submitting a … (check one with “x”)

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

Current behavior I copied code from demo: https://github.com/swimlane/ngx-datatable/blob/master/demo/selection/selection-chkbox.ts#L15

In my template i have checkbox for each row, but in header, the checkbox for “check all or uncheck all” doesn’t appear.

Expected behavior When i use <ngx-datatable-column [width]=“30” [headerCheckboxable]=“true” [checkboxable]=“true”>

Checkbox for check all should appear in header.

  • Table version: 4.2.0

  • Angular version: 2.4.1

  • Browser: Chrome

  • Language: Typescript

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DevaKamblecommented, Aug 4, 2017

Add <[selectionType]=“‘checkbox’”> property to ngx-datatable

Ex :<ngx-datatable class=“material” [rows]=“rowset”
[columnMode]=“‘force’” [headerHeight]=“50” [footerHeight]=“50” [rowHeight]=“‘auto’” [limit]=“10” [selectionType]=“‘checkbox’” (activate)=“onActivate($event)” (select)=‘onSelect($event)’ >

0reactions
amcdnlcommented, Apr 14, 2017

closing due to inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

Header (select all) checkbox does not stay checked
The problem is that the header checkbox does not stay checked after the window is closed. E.g. if the window is opened, the...
Read more >
check/uncheck item checkboxes when header ... - MSDN
I'm guessing that you current problem is when you click the checkbox in the second column header,the chechkbox which is in the first...
Read more >
How to display Select All CheckBox on the Header Title and to ...
Hi,In my current project, I have to display a RadGrid which looks as follows http://www.gouw.ws/RadGridWithCheckBoxes.jpgThe RadGrid with paging has 3 c...
Read more >
checked appearance only showing on visible columns until...
Yes, this event is triggered by the user clicking on the first visible column's checkbox, the only column with no header text. You...
Read more >
Row Selection - JavaScript Data Grid
Set to true to display a disabled checkbox when row is not selectable and ... headerCheckboxSelectionFilteredOnly=false: The checkbox will select all rows ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found