mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Tree View and rows selection #1147

Open Tpona opened 7 years ago

Tpona commented 7 years ago

Hi!

I have some problem with component. All about Tree Grid view.

First problem. I want to be able to get all selected rows regardless of whether they are hidden or not. Now, if i collapse some branch (tree grid view), getSelectedRows returns only the visible rows. And enumerated their in order in which of their visibility.

Second question. In Tree Grid view, i want to be able to select all child rows of the clicked row. How to do?

Many thanks for answers )

6pac commented 7 years ago

Hi Valentin,

SlickGrid is more like a toolkit than a finished product. But it's a great toolkit. It shouldn't be too hard to do what you are asking, if you look at the sample code. I don't have time to develop this myself. If you get it working, you might like to create a new example and lodge a pull request. You may want to use my 6pac repo. It has a lot of patches and enhancements, and it's compatible with all the latest versions of jQuery.

Ben McIntyre