I have a working autocomplete text box fetching data from mysql server through a php file.
I would like to know how to change the datasource i.e the table depending on the user selection dynamically.
Can the autocomplete requery a new table?
I am using the following tutorial
http://www.kendoui.com/blogs/teamblog/posts/12-10-02/using_the_autocomplete_with_php.aspx
You can do it in the server sending an extra parameter:
transport.parameterMap)transport.read.dataor you can do it in the client (browser) defining:
transport.readas a function that load the data (likely via ajax).transport.read.urlfunction that calculates the URL of one or the other service.