| Summary: | [TableColumn] Moving "0 width" columns | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tiber Sept <tibersept> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P2 | CC: | tibersept | ||||||
| Version: | 1.4 | ||||||||
| Target Milestone: | 1.4 M7 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tiber Sept
Created attachment 188313 [details]
Creates a table with 5 columns, third one's width is 0
I have modified the > TableColumnLCA.moveColumn( TableColumn column, int newLeft ) method to cancel the preserved "left" value of the passed column, so that the updated left position is sent back to client also when it has not changed. It does not change because the width of the adjacent column is 0. More precisely the following lines in TableColumnLCA.moveColumn > } else { > table.setColumnOrder( columnOrder ); > } look like > } else { > table.setColumnOrder( columnOrder ); > IWidgetAdapter adapter = WidgetUtil.getAdapter( column ); > adapter.preserve( PROP_LEFT, null ); > } Created attachment 188314 [details]
Quickfix
Applied your patch to CVS HEAD as I think this is the only way to fix it. Thanks. JUnit test added. |