Hi Tony!
If would be fine if the code from the Search Dialog will be share the code which construct edit fields in form edit dialog or the code from inline editing. If one do this, Search Dialog will support more data types like check boxes. Moreover if one define in the editrules, that some field is for example integer, then this rule will not used in the search dialog and the user can input any value in the field for searching. Other editrules can be also helpful for searching. If one define a custom rule with a testing for RegEx for an edit field, the same rule should be used for searching as for editing (at least for “equal to” operation). It will be enough just to use checkValues function from grid.common.js to verify the input values.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top