avallete / ag-grid-autocomplete-editor

Quick implementation of autocompletion into ag-Grid cell using autocompleter package.
MIT License
49 stars 25 forks source link

is it possible to access data from other columns from autocomplete? #84

Closed SoyDiego closed 3 years ago

SoyDiego commented 4 years ago

Hi, I have two columns in my aggrid. One with the autocomplete and other column (hidden) with ID. I need get data from the column "ID" to call the API in my autocomplete and show the data right there.

imagen

Thanks

avallete commented 3 years ago

Yes, but it have nothing to do with the cellEditor itself. You need to create a scope where this data retrieved, you will be able to pass this data into the fetch function scope.

You probably want to check an Grid Api and Editing Api documentation.

I close this issue since it's not related to the plugin itself.