| Summary: | rowTemplate Right tracking and refresh issue - rows not redraw on table resize | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | John Gymer <jgymer> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | ivan, rsternberg, tbuschto | ||||
| Version: | 2.2 | ||||||
| Target Milestone: | 2.2 RC1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
John Gymer
Created attachment 237747 [details]
Proposed patch
Pathc for consideration for 2.2RC2.
Notes:
All this does is re-render all rows if the grid is horizontally resized. This wasn't necessary before since the rows were only depending on the size of the columns, not the grid. I decided against checking for a row template and always re-rendering the rows instead, as this isn't a performance-critical point in time. It always happens (at maximum) once during a server response, which take a while anyway and aren't happen very often compared to scroll events for example.
Also, I did not include the rebuild client.js in the patch for obvious reasons, but of course we shouldn't forget it when pushing the changes.
Comment on attachment 237747 [details]
Proposed patch
The fix looks good to me. +1
Comment on attachment 237747 [details]
Proposed patch
The patch looks good to me too
Applied patch with commit c60502a30506ac9ef5c0dccbfcb4d1f053c33b2b. |