ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2015-09-09 12:31:31

khurram.hits
Member
Registered: 2015-09-03
Posts: 18

I am not able to select multiple cells with Pressing Ctrl Key.

I am not able to select multiple cells with Pressing Ctrl Key.

Sheet control does not support random cells selection using Ctrl Key Like Excel?

Offline

#2 2015-09-09 18:57:46

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: I am not able to select multiple cells with Pressing Ctrl Key.

No. ReoGrid currently cannot do that. Only single range could be selected.

Offline

#3 2015-09-10 08:17:51

khurram.hits
Member
Registered: 2015-09-03
Posts: 18

Re: I am not able to select multiple cells with Pressing Ctrl Key.

Can I expect this in next release as its an important feature of application I am working on? Or is there any way to implement this feature manually?

Offline

#4 2015-09-10 08:40:53

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: I am not able to select multiple cells with Pressing Ctrl Key.

We would like to add this feature in futures version, but it would in a low priority.

You could disable the default selection feature, and simulate the multiple selection by programming.

By handling the event OnCellMouseDown to get what cell is clicked from end-user, and give the cells a style, such as background color.

Please refer to the Demo file: Demo\Features\CellsEventDemo.cs

Offline

#5 2015-09-10 09:13:51

khurram.hits
Member
Registered: 2015-09-03
Posts: 18

Re: I am not able to select multiple cells with Pressing Ctrl Key.

Demo\Features\CellsEventDemo.cs link is not working

Offline

#6 2015-09-10 12:37:34

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: I am not able to select multiple cells with Pressing Ctrl Key.

It is not a link, please refer to Demo project source code, which is included in the download package.

Offline

#7 2015-09-11 16:06:57

khurram.hits
Member
Registered: 2015-09-03
Posts: 18

Re: I am not able to select multiple cells with Pressing Ctrl Key.

I have done it without the demo. Thanks for the hint of "OnCellMouseDown". smile

Offline

#8 2015-09-12 03:47:50

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: I am not able to select multiple cells with Pressing Ctrl Key.

Well done!

Offline

Board footer

Powered by FluxBB