Autocomplete with call ajax in Angular

Tags: #<Tag:0x00007efc6522f5e8>

Greeting,
I’m working with Angular 8 and I’m building my HOT like this :
<hot-table
[…]
[columns]=“columns”
[…]
</hot-table

and when I create columns:
columns = [{
title: ‘title’,
data: data,
type: ‘autocomplete’,
source: this.getInfoFromBackEnd,
validator: this.onValidateCell
}]

the method getInfoFromBackEnd call the back to have info.

BUT

I can’t use the jquery lib. the ‘$’ used in the example (for the ajax call) is not working and the scope is specific to the cell.

SO

I’m using Angular and I can’t use my angular’s services to call backend in autocomplete. How can I do ?

Hey @alexandre.quere

It would be better if you could share a demo as

I can’t use the jquery lib. the ‘$’ used in the example (for the ajax call) is not working

do not share much information. Do you get any errors in the console?

I guess that we can close this topic as there are no updates.

However, please check the updates on new versions and if there’s anything you need feel free to open a new topic.

1 Like