Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#12082 closed defect (invalid)

Remove Rule from EnhancedGrid filter is cousing Uncaught TypeError in browser console

Reported by: adinarayana14 Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have copied the grid filter example from the bellow link, and added filter rules while start up this grid.

https://dojotoolkit.org/reference-guide/1.10/dojox/grid/EnhancedGrid/plugins/Filter.html

I have added the following filter rules to filter the data:

grid.setFilter([{ 
        colTxt: "Genre", 
        column: "2", 
        condTxt: "contains", 
        condition: "contains", 
        formattedVal: "easy", 
        type: "string", 
        value: "easy" 
}, { 
        colTxt: "Artist", 
        column: "3", 
        condTxt: "contains", 
        condition: "contains", 
        formattedVal: "Frank Sinatra", 
        type: "string", 
        value: "Frank Sinatra" 
}]);

When grid loads the filter is applying properly. http://dojo-toolkit.33424.n3.nabble.com/file/n4006019/image12.png

Once I click on Remove Rule button I am getting the Uncaught TypeError on browser console. The filter is not happening and the rule not removed from filter tip.

http://dojo-toolkit.33424.n3.nabble.com/file/n4006019/image23.png

Note: I have tested this in all browsers and with latest dojo version as well.

Attachments (1)

enhanceddatagrid-filter-problem.html (9.4 KB ) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 10 years ago

comment:1 by Jun Omae, 10 years ago

Priority: highnormal
Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.