hjalmers / angular-generic-table

A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.

Home Page:https://hjalmers.github.io/angular-generic-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: rowSelection: true - can we multiple select only when CTRL is selected

hope4555 opened this issue · comments

In many systems multiple select is working only when CTRL key is pressed
Can this be done?
i seem not to get the "e.ctrlKey" when i handle the event

Currently multi select is either on or off and rows are selected using normal click. It would be fairly easy to implement it together with a new option, something like rowSelectionCtrlCondition = true or maybe allow the existing rowSelectionAllowMultiple to accept and array of conditional keys like ['ctrlKey'] and not just true or false. What do you think?

i like "rowSelectionCtrlCondition = true" better