Jump to content


Photo

Hiding rows make TNextGrid to display a scroll bar


  • Please log in to reply
2 replies to this topic

#1 ag74

ag74
  • Members
  • 9 posts

Posted 12 December 2013 - 11:35 AM

Hello,

I'm using a TNextGrid to display data, see attached screenshot 'Untitled.jpg'.
The user can hide some rows according to a filter's settings, see attached screenshot 'Untitled2.jpg'.

As you can see on 'Untitled.jpg' all of the rows are visible and there is no vertical scroll bar but when I hide some rows which means there are less visible rows a vertical scrollbar is shown 'untitled2.jpg'.

Could you please tell me how to fix this issue ?

Thanks.

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 15 December 2013 - 02:14 AM

Hi,

Can you please tell me what you use for hiding rows, which property?

Do you use (RowVisible[x] property of NextGrid or Row[x].Visible?)

First one is correct.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 ag74

ag74
  • Members
  • 9 posts

Posted 17 December 2013 - 10:36 AM

Hi,

Thanks for the reply with RowVisible[x] it works now.
I used Row[x].Visible which was more logical and intuitive to me.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users