This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: |
UpdatedResultSetCellRenderer misses View => Model Coordinate Transformation |
Product: |
db
|
Reporter: |
matthias42 |
Component: |
Show Data | Assignee: |
Jiri Rechtacek <jrechtacek> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
normal
|
Keywords: |
NETFIX |
Priority: |
P3
|
|
|
Version: |
7.0 | |
|
Hardware: |
PC | |
|
OS: |
Linux | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
Proposed patch (see comment)
|
Created attachment 107726 [details] Proposed patch (see comment) Hey, when testing the dataview component, I noticed, that the updated cells are not correctly shown, when changing the sort order. I tested with a setup of: a a b b c c and changed the second columns c to an a and sorted afterwards by the second column in the reverse order. I expected the first row to be highlighted, but the highlight remained in the last row. After some digging I think I thought the two positions, that are wrong. The first determins, whether the special "UpdatedResultSetCellRenderer" is to be used and the second is in the renderer itself, where the wrong comparison variable is fetched from the model. Please see the attached patch for a more detailed view. Greetings Matthias