Auto complete item source fucntion

Posted by: samvarth123 on 19 February 2020, 11:28 pm EST

    • Post Options:
    • Link

    Posted 19 February 2020, 11:28 pm EST - Updated 3 October 2022, 8:17 am EST

    We are using angular 7 with wijmo flex grid

    I am using a autocomplete with item source function and I am getting values fine.Assuming in the grid I have an option to select a type and in the next cell I have the item source fuction I have to pass the value given in previous cell.How to do that



    SO as per image I am selecting a country or a state or a district and the autocomplete field when I start typing it should filter me results based on the value I selected in previous cell

  • Posted 23 February 2020, 7:33 pm EST

    Hi,

    You can get the last cell’s data from the FlexGrid and implement your itemsSourceFunction so that it filters out the records that do not match the last cell value. Please refer to the sample below:

    https://stackblitz.com/edit/angular-hhb6jg

    Regards,

    Ashwin

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels