components icon indicating copy to clipboard operation
components copied to clipboard

Md-data-table select row

Open Leonzen opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

Feature request, proposal

What is the expected behavior?

There should be a data-table with a checkbox on one side, whitch allows the user to select a row an work with the data in it.

What is the current behavior?

There is no such table.

What is the use-case or motivation for changing an existing behavior?

This could be a usefull feature for many applications

Leonzen avatar Aug 08 '17 11:08 Leonzen

https://github.com/angular/material2/blob/master/src/material-examples/table-overview/table-overview-example.html#L20

https://github.com/angular/material2/tree/master/src/lib/core/selection

nkwood avatar Aug 08 '17 14:08 nkwood

Selection is fairly straightforward to add with SelectionModel and having a select column. For a table that provides this along with built-in support for sorting and pagination, see #5889

andrewseguin avatar Aug 08 '17 14:08 andrewseguin

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.