Ticket #2527707 (closed defect)
Reporter Jenny Han Donnelly |
Opened: 02/20/09 Last modified: 09/14/09 Status: closed Type: defect Resolution: fixed |
Owner Jenny Han Donnelly |
Target Release: 2.8.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Column sorting broken for DataTables nested in HTML TABLE elements | ||
| Description: | Regression caused by #2149587. This patch can be used as a temporary workaround: <script type="text/javascript"> // Validate HTML element // Make sure the TD is in this TBODY if(lang.isString(cell.columnKey) && lang.isString(cell.recordId)) { } return null; |
||
| Type: | defect | Observed in Version: | 2.7.0 |
| Component: | DataTable | Severity: | S3 (normal) |
| Assigned To: | Jenny Han Donnelly | Target Release: | 2.8.0 |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 02/20/09
|
|
Posted: 02/20/09
|
|
Posted: 03/19/09
Sorry folks, there was a typo in that code. Please use this: <script type="text/javascript"> var Dom = YAHOO.util.Dom, lang = YAHOO.lang, // Validate HTML element // Validate TD element // Traverse up the DOM to find the corresponding TR element } elCell = el; } // Make sure the TD is in this TBODY // Now we can return the TD element } } var oRecord, nColKeyIndex; if(lang.isString(cell.columnKey) && lang.isString(cell.recordId)) { oRecord = this.getRecord(cell.recordId); nColKeyIndex = oColumn.getKeyIndex(); } } oRecord = cell.record; } return elRow.cells[nColKeyIndex] || null; } } return null; }; |
|
Posted: 04/15/09
This patch worked great except I had to change "return elRow.cells[nColKeyIndex] null;" to "return elRow.cells[nColKeyIndex];" |
|
Posted: 04/20/09
|
|
Posted: 07/4/09
|
|
Posted: 07/4/09
Ticket #2528034 was marked as a duplicate of this ticket. |
|
Posted: 07/21/09
Created commit 297de75: [fix bug #2527707] Fix column sorting for DataTables nested in TABLE elements: getTdEl() validates that TD is in this TBODY. |
|
Posted: 07/22/09
[fix bug #2527707] Fix column sorting for DataTables nested in TABLE elements: getTdEl() validates that TD is in this TBODY. |
|
Posted: 08/5/09
Regression of bug bz2263558/sf2149587. |
|
Posted: 08/5/09
Created commit 719a2a5: [fix bug #2527707] getTdEl needs to validate TD.parentNode.parentNode is this TBODY (for column sorting of DTs nested in table elements) or null (for us age within formatter functions). |
|
Posted: 09/14/09
2.8.0 has been released. All "checkedin" items are available for download in the official release. Status of "checkedin" items is being set to closed. |
|
Posted: 09/14/09
|


Created commit 70cde92: [ref #2527707] Adding to known issues list.
1 files changed, 4 insertions(+), 0 deletions(-)