ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum no longer accepts new user registrations, please report your question, problem and feedback to the issue page of ReoGrid on Github. Thanks for your cooperation.

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

#1 2016-03-12 02:36:41

asparatu
Member
Registered: 2014-08-20
Posts: 196

How to remove the empty space when load rgf

Hello Jing,
    I want to know i can remove the white space at the bottom as you scroll up.. I have one that i did in code and does not do that, It is like the height is larger in the file then the actual size of the control height. Is the way to change the height of the file height? Also another thing is how can i get a border around the right and bottom of the grid when i load as file. I have took and added in the editor but every time open the file it is gone, even though i save it.

Shane

This open from xml file
bd3158e58f6bc664cc00d95c2d859e83.png


This is one i did code
44424b6421f95ecba25b6638289fa5bc.png

Last edited by asparatu (2016-03-12 02:38:44)

Offline

#2 2016-03-12 14:42:32

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

Re: How to remove the empty space when load rgf

Hi Shane, in current version you cannot remove the bottom padding, I will add a property from next version which decides whether or not to remove the padding.

Offline

#3 2016-03-13 01:07:21

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: How to remove the empty space when load rgf

Hello Jing,
   Ok that would be good.. Because i can make the worksheet faster in the editor then through code.. and some of the sheet are complicated to make.
shane


The other question i asked was about the border on last column and last row not showing even if add it and after i save the file it is not there?

Offline

#4 2016-03-13 03:06:35

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

Re: How to remove the empty space when load rgf

Now I've noticed this problem, loading from a saved RGF file will lose the last borders. I'll fix this as soon as possible.

Offline

#5 2016-03-13 07:17:53

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: How to remove the empty space when load rgf

Hello Jing,
   I just notice something interesting.. I know why on my other sheet do not have the white padding on the bottom of the grid. All of them have ".FreezeToCell" set because of this it removes the white padding on the bottom of the grid. I was trying to make same grid in code that i made with editor to see why i was able to do it with the others and not this one and ".FreezeToCell" was not set on the current one i was working with.

Shane

Offline

#6 2016-03-13 12:25:42

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

Re: How to remove the empty space when load rgf

Yes because the FreezeToCell can freezes several rows to bottom of worksheet so that is necessary to remove the white spacing. For a normal scene, the white spacing is used to prompt users that there is no more rows at the end of worksheet, it is a friendly user experience design.

Offline

#7 2016-03-13 14:00:29

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: How to remove the empty space when load rgf

Hello Jing,
   I can understand that..

Shane

Offline

#8 2016-03-15 14:53:15

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

Re: How to remove the empty space when load rgf

This problem has been fixed in version 1.2.1. Please try the latest version: https://reogrid.net/download/

Offline

Board footer

Powered by FluxBB