How can I use autocomplete selection event

Tags: #<Tag:0x00007efc65490648>

I want to use autocomplete which contains concatenated information. But how can I set the cell only with the value without other concatenated information. Just like this:

		columns: [
		{
			type: 'autocomplete',
			strict: true,
			visibleRows: 2,
			source: function (query, process) {
				$.ajax({
					url: '/datatables/autocomplete?col=buyer',
					minLength: 2,
					data: {
						query: query
					},
					success: function (response) {
						process(response);
					}
				});
			}
		},

Thanks for your help!

Hi @bataak1
Could you create an example with your recent progress? I wouldn’t want to divagate if I’m not sure about the concept.

I’d appreciate if you’ll use JSFiddle/JSBin or CodePen.

Actually I don’t know how to load json with not a single column data, in autocomplete

Hi, @bataak1.

I’m afraid Handsontable currently doesn’t support autocomplete with labels, like in your screenshot. It would require some tweaking inside the editor’s code, or more likely, creating a custom editor.
It would be extremely helpful if you provided us with a demo of what you currently have (like @aleksandra_budnik said) , so we can nudge it into a correct direction, as I’m not exactly sure of what we’re dealing with.

Hi @bataak1
How is your progress with the issue?

Issue closed in lack of demo.