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 07:05:10

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

Horizontal Scroll Bar hidden/broken

How can I programmatically set the horizontal scroll bars visible?

Here are screen shots of the problem.

Here is the default startup mode:
the horizontal scroll bar is not visible.

http://joxi.ru/DmBxlB1FNlkYeA

Now i have to slide it out to make it visible.

http://joxi.ru/p27oWB6t0kd752

I would like to set the properties of the scroll bars and the up/down, left right scroll buttons ?

It is possible to scale the spreadsheet down to get more of a big sheet in a little control aperture (the grid/screen area available to the control)

Offline

#2 2016-05-23 07:48:08

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

Re: Horizontal Scroll Bar hidden/broken

I found the solution in the xml settings.

http://joxi.ru/Vm6d6B5IxYWg7A

                        <ReoGrid:ReoGridControl x:Name="myReoGrid"
                                                HorizontalAlignment="Right"
                                                Height="845"
                                                Margin="-211,-204,470,-207"
                                                VerticalAlignment="center"
                                                Width="877"
                                                ActionPerformed="myReoGrid_ActionPerformed"
                                                WorksheetInserted="myReoGrid_WorksheetInserted"
                                                WorksheetCreated="myReoGrid_WorksheetCreated"
                                                WorksheetNameChanged="myReoGrid_WorksheetNameChanged"
                                                WorksheetScrolled="myReoGrid_WorksheetScrolled"
                                                WorksheetRemoved="myReoGrid_WorksheetRemoved"
                                                CurrentWorksheetChanged="myReoGrid_CurrentWorksheetChanged"
                                                ScrollViewer.HorizontalScrollBarVisibility="Visible"
                                                ScrollViewer.CanContentScroll="True"
                                                RenderTransformOrigin="0.5,0.5">
                            <ReoGrid:ReoGridControl.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="0.5"
                                                    ScaleY="0.5" />
                                    <SkewTransform />
                                    <RotateTransform />
                                    <TranslateTransform />
                                </TransformGroup>
                            </ReoGrid:ReoGridControl.RenderTransform>
                        </ReoGrid:ReoGridControl>

Offline

#3 2016-05-23 11:41:28

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

Re: Horizontal Scroll Bar hidden/broken

Hi drdbkarron,

You just need to set the property SheetTabWidth to a smaller number to shrink the sheet tab control, the sheet tab control is too large and it covered the scroll bar.

<ReoGrid:ReoGridControl ...
  SheetTabWidth="200">

...

</ReoGrid:ReoGridControl>

Offline

#4 2016-05-23 13:01:25

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

Re: Horizontal Scroll Bar hidden/broken

I found the visibility property set to 'hidden' by default in the XML.

ScrollViewer.HorizontalScrollBarVisibility="Visible"

seems to work.

Offline

Board footer

Powered by FluxBB