Opened 11 years ago

Closed 11 years ago

#7929 closed defect (fixed)

It is impossible to set the query for a grid using setQuery to an empty string after it has a non-empty string

Reported by: Kris Zyp Owned by: Nathan Toone
Priority: high Milestone: 1.3
Component: DojoX Grid Version: 1.2.0
Keywords: Cc:
Blocked By: Blocking:

Description

grid.setQuery("some query"); grid.setQuery(""); grid.query -> "some query"

The _setQuery method should be changed to either always set this.query to the value of the query parameter (assume there must be some reason why that is not being done) or make it a check that will still work with "" (which is falsy).

Change History (2)

comment:1 Changed 11 years ago by Nathan Toone

Owner: changed from Bryan Forbes to Nathan Toone

Reassigning to me

comment:2 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed

(In [16097]) refers #7963 (preserving value types when cells are edited) and fixes #7929 !strict

Note: See TracTickets for help on using tickets.