I am newcomer to ABMaterial. I have previously used ASP.NET for Web App's. What I am looking to achieve is an autocomplete component that loads results from a database on the server side. For a small data set I could do this with ABMInput and use the AddAutoComplete. However i am not dealing with a small data set (100K + records)
The functionality I am looking to achieve is the user enters the first letter of the search and a function is called on the ABMPage that gets the value of the control, runs a query on the DB and returns JSON to the calling Javascript to generate the list for the autocomplete. This JQuery control: http://www.runningcoder.org/jquerytypeahead/demo/ is the sort of functionality I am looking to achieve. In particular the User V1 demo.
I pretty much understand how this sort of thing works using ASP.NET and AJAX but I can't really work out how this would work in ABM. Is there a JavaScript function in core.4.30.min.js that can call a B4J function in an ABMPage? If not how would be best to approach this?
The functionality I am looking to achieve is the user enters the first letter of the search and a function is called on the ABMPage that gets the value of the control, runs a query on the DB and returns JSON to the calling Javascript to generate the list for the autocomplete. This JQuery control: http://www.runningcoder.org/jquerytypeahead/demo/ is the sort of functionality I am looking to achieve. In particular the User V1 demo.
I pretty much understand how this sort of thing works using ASP.NET and AJAX but I can't really work out how this would work in ABM. Is there a JavaScript function in core.4.30.min.js that can call a B4J function in an ABMPage? If not how would be best to approach this?