Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Blackfish SQL/Data Express    [ Add a report in this area ]  
Report #:  8540   Status: Open
JdbTable Scrolling broken when dataset is opened as Load.AS_NEEDED.
Project:  JDataStore Build #:  10.0.204.0
Version:    7 Submitted By:   Robert Rae
Report Type:  Basic functionality failure Date Reported:  6/30/2004 2:32:47 PM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   219827
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Charles' notes: This looks to be a DataExpress issue -- see this code in DataSet.getDisplayVariant():

if (dataSetStore.provideMoreData())
        rowNavigatedDispatch();

Note that more data is being provided by dragging the scrollbar, so that the selected row is not changing. I also attached a JDS version of the customer's project.
--End Charles' notes

[QC Short Description]
JdbTable Scrolling broken when dataset is opened as Load.AS_NEEDED.

[QC Description]
Everytime the table scrolls down to the end of the currently loaded records, (using scroll bar), the table refreshes to the currently selected record,  and a spurious navigation event is generated.  
QC Entry 8540

[Additional Notes]
Customer purchased a support contract and wanted this promoted from Quality Central into Raid.  He provided a test case with instructions.  However, his test case is reliant on MySQL, so I haven't actually tested this.
Steps to Reproduce:
dataset is opened as Load.AS_NEEDED.
-connected to JdbTable within TableScrollPane
- use scroll bar to scroll down
- when scrollbar reaches end of displayed records, data is refreshed from the database
and display is reset to previously selected record.
- navigation event is generated  to previously selected record. (redundant)

[Customer's Test Case]
Extract the file TestCase.zip and there is a file called TestCaseSteps.txt that lists the customer's steps to reproduce.
Workarounds
The table should be using a dataset view to generate the display,
or disable navigation events while refreshing.
Attachment
None
Comments

None

Server Response from: ETNACODE01