Project

General

Profile

WTableView :: MultiSelect :: ToggleSelection

Added by Mark Petryk about 5 years ago

I'm not sure how to ask this.

I would like to get my table-view to multi-select-toggle. I would like to be able to select multiple items by simply single-clicking on them.

Right now, when I single-click on an item, it is selected, and then single-clicking on another item de-selects the previous item. If I hold the ctrl-key while clicking I can select multiple items, but my preference would be to not have to press the ctrl-key to do that. I see that the AbstractItemView has a 'select' function https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WAbstractItemView.html#acbcee6896e4d30748f12c9019daa172e

I'd like to get this behaviour for a mouse-click.


Replies (4)

RE: WTableView :: MultiSelect :: ToggleSelection - Added by Aziz Gokhan Narin about 3 years ago

I need the same behavior. I think it is not supported. But why anybody answer these question I wondered. Moreover I worried very much. Because I had made a wrong decision concerning library for my project.

RE: WTableView :: MultiSelect :: ToggleSelection - Added by Mark Petryk about 3 years ago

Hi Aziz, I'm curious why do you believe you made the wrong decision with this library?

RE: WTableView :: MultiSelect :: ToggleSelection - Added by Aziz Gokhan Narin about 3 years ago

Your question, or I misunderstood it, is so clear and generic. But it was not responded since 2 years and more. Moreover no assessment was done. This was made me worry.

There are lots of library similar to each other. I used some of them but I have limited time to experience of them. I observe this library since years. I really liked Qt's design, so I loved the Wt library too. However I do not want to implement my project with a library that is not popular or less supported. Because I don't want to hit the wall at a forward point in my project. I hope my explanation is reasonable for you.

RE: WTableView :: MultiSelect :: ToggleSelection - Added by Mark Petryk about 3 years ago

Hi Aziz,

I understand your concerns.

I use this library exclusively for all of my web-based projects. I learned Qt quite a while ago, and Wt is a close fit to that programming approach.

This forum is monitored, but not all the questions get answered quickly... some do, some don't.

I don't know how this library compares to some of the others, I have not looked at any of the other libraries.

There is a IRC chatroom over on the freenode server, you can ask questions in there also.

There isn't anything I have tried to do that this library has not been able to provide in one form or another.

    (1-4/4)