Hi,
How do I turn off AdvancedCriteria?
My back-end is PHP, so I want only simple values from my ListGrid filters and SearchForms.
I tried changing editorType:"date" to "DateItem", but that didn't work. (I had read the default for date now is a date range, which triggers the AdvancedCriteria.)
I looked for a property of the SearchForm, something like "useSimpleCriteria: true", but I didn't find anything.
Thanks,
Mike
	
SmartClient Version: SC_SNAPSHOT-2011-01-05/LGPL Deployment (built 2011-01-05)
					How do I turn off AdvancedCriteria?
My back-end is PHP, so I want only simple values from my ListGrid filters and SearchForms.
I tried changing editorType:"date" to "DateItem", but that didn't work. (I had read the default for date now is a date range, which triggers the AdvancedCriteria.)
I looked for a property of the SearchForm, something like "useSimpleCriteria: true", but I didn't find anything.
Thanks,
Mike
Code:
	
	isc.SearchForm.create({
    ID:"billingReportSearchForm",
        fields:[
            {name:"date_from", title:"From Date", editorType:"date"},
            {name:"date_to", title:"To Date", editorType:"date"},
            {name:"excel", title:"Excel", editorType:"checkbox"},
            {name:"report_name", title:"Report Name"}
        ]
    });
SmartClient Version: SC_SNAPSHOT-2011-01-05/LGPL Deployment (built 2011-01-05)
Comment