Opened 9 years ago
Closed 8 years ago
#15266 closed defect (patchwelcome)
EnhancedGrid filter plugin not functioning properly
Reported by: | d.champatiray | Owned by: | Evan |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi,
The FilterStatusTip? (Tooltip shown when we hover over the filter bar) is not functioning properly after using the "setFilter" method of EnhancedGrid? object to set filters programmatically. Though the applied filters show up in the tooltip, the icon (red colored 'X') to remove a filter does not function as expected. Upon clicking the icon an error "cc.selectedChildWidget is undefined" is thrown and the filter is not removed from the grid.
Upon tracing the back into the source, I discovered that the error is thrown from the "removeCriteriaBoxes" method of "FilterDefDialog?".
I'm using the following code to set 2 filters on the stock enhanced grid example provided in the 1.7.2 source distribution (Path : /dojox/grid/tests/enhanced/test_enhanced_grid_filter.html) :
var grid = dijit.byId('grid'); grid.setFilter([{ type : 'number', column : 3, condition : 'equalTo', value : 1992 }, { type : 'string', column : 4, condition : 'contains', value : 'Down' } ], 'logicall');
Change History (4)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | set to Evan |
comment:3 Changed 8 years ago by
comment:4 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Please change the component type to "DojoX Grid" from "General".