Hi Marcelo,
Greetings from Syncfusion support.
You can get the filtered value in the actioncomplete event and store it in the global variable. So, when you press the enter key you can get the first value as mentioned below code snippet,
public void keydown(KeyboardEventArgs args)
{
if(args.Code == "Enter")
{
Console.WriteLine(value.Code);
}
}
public Countries value { get; set; }
public void onActionComplete(ActionCompleteEventArgs args)
{
value = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Countries>>(args.Result.ToString()).ToList<Countries>().FirstOrDefault();
}
|
Regards,
Sureshkumar P