shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select Column new Mode (all filtered data)

rbv3 opened this issue · comments

Please describe the feature you would like to request.

In my humble opinion, there should be a mode that when you filter the data and click on select all box, only the filtered data is selected.

What is the use-case or motivation for this proposal?

I'll use the table on this link for example:
https://shlomiassaf.github.io/ngrid/demos/virtual-scroll-performance
Now, imagine that I want to select all row which has the account type: "Money Market".
So, I just need to filter the data by "money market" and then click on "select all box". But, when I remove the filter, my entire data is selected.

Is there anything else we should know?

If you think that this feature is not necessary, can you guide me? Which variable holds the filtered data? And then I think that I can just try to implement this feature by myself.

In fact, is it possible to create a custom bulkSelectMode? I found the variable which holds the filtered data, but I'm struggling to create a custom bulkSelectMode :(

@rbv3 Yes it's possible.

The selection column is byitself and extension to ngrid, ngrid does not have a UI specific approach, the UI you see comes from extensions.

https://github.com/shlomiassaf/ngrid/tree/master/libs/ngrid-material/selection-column

Currently, the only UI framework I've extended is material, but I would also like to extend bootstrap if someone would help...