FilteringTable: onUpdateField event on a property not shown
- When calling "update" on the backing store object of FilteringTable?, the subsequent "onUpdateField" handler in FilteringTable? will fail with index out of bounds if the updated field isn't visually represented (ie. no column in the table for that field).
- This issue occurs on all browsers.
- Encountered with 20061108 nightly build.
- Index out of bounds occurs at:
dojo.event.connect(this.store, "onUpdateField", function(obj, fieldPath, val){
var row = self.getRow(obj);
var idx = self.getColumnIndex(fieldPath);
if(row && row.cells[idx] && self.columns[idx]){
self.fillCell(row.cells[idx], self.columns[idx], val);
}
});
During "row.cell[idx]" since idx == -1 when there is no column for the provided fieldPath.
Change History (4)
Milestone: |
→ 0.5
|
Owner: |
changed from anonymous to Tom Trenka
|
Component: |
General →
Widgets
|
Summary: |
Problem with FilteringTable and onUpdateField event →
FilteringTable: onUpdateField event on a property not shown
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
(In [6712]) Fixes #1877.