Default value of the SearchField does not always work

2
Having a search field with a default value which sometime work and sometime not (gives back all results) on opening the Form. After pressing the search button it gives always the correct results. Looks like the form does not always react on the entered default value in the SearchField. When I change the attribute of this search field into an enumeration (instead of string) it seems to be stable. I prefer not to use enums for this field. Error or am I missing something?
asked
2 answers
2

I sounds like a bug, in most cases the grid works with the default search values. Apperently there are a few small testcases missing in the R&D test projects.
If the default search value works when you press the search button it is hard to imagine that you made a modelling error. The best thing you could do is create an incident in mxdn.

Comment to Karol: Changing the wait for search property is a work around for this problem, but the default search value should be working identical the first time a grid loads as when you press the search button.

answered
3

If you are dealing with a dataGrid have you set the property 'wait for search' to true? This setting defines whether the contents of the grid are immediately visible or that first a search has to be performed. This is useful for grids with very large amounts of objects that do not need to be browsed all at the same time. Default value is false.

answered