Side navigation
#931 closed feature (wontfix)
Opened February 08, 2007 07:07PM UTC
Closed March 31, 2008 02:12AM UTC
Ability to change Data Source in Autocomplete
Reported by: | anonymous | Owned by: | stefan |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | interface | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It would be incredibly wonderful if we could add an option (or customize the existing one) to the Interface Autocomplete to accept a different datatype and datasource for the source option.
For instance, I may already have an object in Javascript, or I'd prefer to control the ajax request on my own, so it would be great if the source param could check to see if it's a string or a function, and if it's a function, use the return value of the function as the source.
Sometimes we're not able to affect the serverside return value, and it would be nice if the data retrieval aspect was abstracted a bit so we could feed it some custom data.
Thanks,
Attachments (0)
Change History (2)
Changed February 15, 2007 07:35AM UTC by comment:1
Changed March 31, 2008 02:12AM UTC by comment:2
description: | It would be incredibly wonderful if we could add an option (or customize the existing one) to the Interface Autocomplete to accept a different datatype and datasource for the source option.\ \ For instance, I may already have an object in Javascript, or I'd prefer to control the ajax request on my own, so it would be great if the source param could check to see if it's a string or a function, and if it's a function, use the return value of the function as the source.\ \ Sometimes we're not able to affect the serverside return value, and it would be nice if the data retrieval aspect was abstracted a bit so we could feed it some custom data.\ \ Thanks, → It would be incredibly wonderful if we could add an option (or customize the existing one) to the Interface Autocomplete to accept a different datatype and datasource for the source option. \ \ For instance, I may already have an object in Javascript, or I'd prefer to control the ajax request on my own, so it would be great if the source param could check to see if it's a string or a function, and if it's a function, use the return value of the function as the source. \ \ Sometimes we're not able to affect the serverside return value, and it would be nice if the data retrieval aspect was abstracted a bit so we could feed it some custom data. \ \ Thanks, |
---|---|
need: | → Review |
resolution: | → wontfix |
status: | new → closed |
Interface is no longer supported; consider switching to jQuery UI.
I would find this really useful too - I need to send extra parameters to the server depending upon the values of other fields on the page.
I am currently trying out this autocompleter:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
which does have this functionality.