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.
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
Thanks, your patch was applied in core-main/rev/a373bf7f5462
Integrated into 'main-golden', will be available in build *201105070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a373bf7f5462 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #197713: UpdatedResultSetCellRenderer misses View => Model Coordinate Transformation