True DB Grid Pro Refresh

True dB grid does not refresh properly when used with Xarray. It seems to put in extra blank lines when a new line is added. The blank lines disappear as soon as the user clicks the grid. This happens only if the number of data rows is less  than what can be displayed.
cinuAsked:
Who is Participating?
 
GeoffSConnect With a Mentor Commented:
I have found the same problem you are describing.
Whilst I have not yet found a fix, a workaround which works for us is to resize the grid (smaller) and then immediately resize it back to its desired size.
We use a routine like the one below.
Elegant it aint, but on a fast machine you dont notice a thing !
I believe our office has reported it and is awaiting an answer.
 
Private Sub FixGridDisplay(TDBG)
'Forces Redisplay of grid to get rid of blank lines at the top
With TBG
    .Height = .Height - 100
    .Height = .Height + 100
End With
End Sub

0
 
trkcorpCommented:
I have no info on your specific problem but I do want to suggest (if you have not done so already) that you go to Apex.com and get the latest version 5.0d.
0
 
CarlosJacCommented:
I have no info on your specific problem but I do want to suggest (if you have not done so already) that you d'ont use XArray ...
We've too many setup problems with xarray ...

0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
TheAnswerManCommented:
I luv the xarray..  havent had any setup issues with it.  what type have you guys had?

what do you mean by a new line is added. when the user enters the "new record" area?  or are you referring to adding lines to the Xarray object itself via code?
0
 
cinuAuthor Commented:
It happens when record is added into the xarray object and the grid is refreshed.
0
 
cinuAuthor Commented:
Adjusted points to 75
0
 
GeoffSCommented:
Sorry,
I didnt mean to submit my "Resize" solution as an answer, more of a comment really !
Please reject it !
0
 
cinuAuthor Commented:
i have another work around too(not elegant again). since it was only happening when the number rows is less than what can be displayed, sending couple of sendkeys to the grid so that the cursor reaches the toprow also seems to solve the problem.
0
 
GeoffSCommented:
We have not experienced any other problems with XARRAY.
I think its great, far more useful than just a means of populating a grid !

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.