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: | Sorting the result table by the first result column marks line numbering also as sort column | ||
---|---|---|---|
Product: | db | Reporter: | matthias42 |
Component: | Show Data | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | NETFIX |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
matthias42
2012-02-19 21:45:18 UTC
(In reply to comment #0) > When selecting the first column of a resultset as ordering column not only this > column is marked as the sorting column (noted by the arrow), but also the line > numbering column. This can be fixed by setting the corresponding model index > for the line numbering column to an impossible value. Inserting > > col.setModelIndex(-1); > > in line 93 of JXTableRowHeader.java does this > > (I'll refrain from putting a one line patch into this bug :-). Right, I modified more line by javac hints to make it larger :-) core-main/rev/bd7cb534dce6 Integrated into 'main-golden', will be available in build *201204040400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bd7cb534dce6 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #208620: Sorting the result table by the first result column marks line numbering also as sort column |