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 2016-05-23 18:49:26

drdbkarron
Member
Registered: 2015-05-06
Posts: 29

w . FocusHighlightRange vs w . SelectionRange;

What is the difference in usage?
FocusHighlightRange seems to be returning nulls.

Can you review the various range types?

I see you have range collections.

dB

Offline

#2 2016-05-24 09:22:54

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

Re: w . FocusHighlightRange vs w . SelectionRange;

FocusHighlightRange currently is not being used, it is designed for returning the focused highlight range that is selected by user, the highlight range is a feature currently in test and is not being recommended to be used. A worksheet can contain one or more highlight ranges, every highlight ranges can have their own color on worksheet, highlight ranges can be moved by user in future versions.

This is highlight range:
167.png

SelectionRange is the range of selection by dragging mouse on spreadsheet. A worksheet can contain only one selection range. (Excel can have multiple selection range)

This is selection range:
168.png

Ranges collection is totally another concept. Ranges collection returns range instance that is an abstract object represents a region to access data of worksheet, you can set or get data, style or borders via the range object. Highlight and Selection range will be displayed on screen but Range object never visible on screen.

Last edited by Jingwood (2016-05-24 09:29:30)

Offline

Board footer

Powered by FluxBB