daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

Possible to hide all checkboxes but maintain row select ability? #314

Closed jbdivups closed 8 years ago

daniel-nagy commented 8 years ago

I suppose you could hide the checkboxes with CSS.

.md-checkbox-column,
.md-checkbox-cell {
  display: none;
}
leocaseiro commented 8 years ago

Also work with ngClick() or ngDbclick() on your <tr>:

   <tr md-row ng-click="doAction()" ng-dbclick="doDbAction()">...</tr>

It can be used for cells as well, like <td ng-click>

jbdivups commented 8 years ago

CSS did the trick. Thanks.