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-04-29 00:14:20

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

Workbook Control subcontrols

The workbook comes with some default controls attached.
The horizontal slider is buried. you have to uncover it by moving the slider.
How can I set the width on the Slider? Is it names? How do I dig into the grid and get at the
built in controls?

Offline

#2 2016-04-29 09:34:55

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

Re: Workbook Control subcontrols

Sheet Tab Control Width (You called Silder) can be adjusted by using reoGridControl.SheetTabWidth property.

reoGridControl.SheetTabWidth = 200;     // unit: pixel

https://reogrid.net/document/built-in-s … b-control/

You can show/hide the controls by some settings.

Other elements:

1. Sheet tab control

// hide
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowSheetTabControl, false);

// show
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowSheetTabControl, true);

2. Horizontal scroll bar

// hide
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowHorScroll, false);

// show
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowHorScroll, true);

3. Vertical scroll bar

// hide
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowVerScroll, false);

// show
reoGridControl.SetSettings(unvell.ReoGrid.WorkbookSettings.View_ShowVerScroll, true);

Last edited by Jingwood (2016-04-29 11:34:25)

Offline

#3 2016-04-29 10:24:09

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

Re: Workbook Control subcontrols

show/hide say false. Is it a toggle?
I need to make some sheet tabs wide enough to contain the text.
The tab on the sheet is not the horizontal slider.

Offline

#4 2016-04-29 11:36:41

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

Re: Workbook Control subcontrols

Sorry my mistake. Edited.

drdbkarron wrote:

I need to make some sheet tabs wide enough to contain the text.
The tab on the sheet is not the horizontal slider.

Can you provide a screen snapshot?

Offline

Board footer

Powered by FluxBB