My application is using a AFB against a DataSource with over 280 fields. Is there a (easy) way to have the fieldname droplist display an ever narrowing list of fields as the user types additional characters of the desired field name?
I've tried unsuccessfully to add a search operator using the .addSearchOperator method. Would you please point me to a working example that accomplishes that? (The datasource is built server-side from a dynamically created XML string.) Since I process the AFB using the JSON encode of the AFB, I only need it to supply the new operator in the criteria object that I parse server side.
Are validators operable in the AFB? I'd like to validate the search value to a list of regex expressions. If not, could field values be validated server side and have it return validation results to the AFB?
I also have date fields that need to support a variety of input formats in addition to the default format. AFB ignores the criteria (in the if the date value field doesn't match its expected format. I could tell AFB it's a text field and convert it server-side, but I loose the date-picker widget in the bargain. Can I have the date-picker and relative-date droplists appear for text fields?
BTW, I'm using SmartGWT 2.3Pro
I've tried unsuccessfully to add a search operator using the .addSearchOperator method. Would you please point me to a working example that accomplishes that? (The datasource is built server-side from a dynamically created XML string.) Since I process the AFB using the JSON encode of the AFB, I only need it to supply the new operator in the criteria object that I parse server side.
Are validators operable in the AFB? I'd like to validate the search value to a list of regex expressions. If not, could field values be validated server side and have it return validation results to the AFB?
I also have date fields that need to support a variety of input formats in addition to the default format. AFB ignores the criteria (in the if the date value field doesn't match its expected format. I could tell AFB it's a text field and convert it server-side, but I loose the date-picker widget in the bargain. Can I have the date-picker and relative-date droplists appear for text fields?
BTW, I'm using SmartGWT 2.3Pro
Comment