filter data coming from the service

I have an endpoint which returns data consists of 5 columns (text and date fields). I want to keep an text field and then when I enter values in the text field, I want to filter the data based on the value I entered.

It should filter dates if possible

  Discussion posts and replies are publicly visible

Parents Reply
  • local!search,

    local!data: [

    {

    name: Vijay,

    dob:10/01/2001,

    address: "near 4th Busstop"

    },

    {

    name: Pavan,

    dob:11/11/2011,

    address: "near KFC"

    },

    {

    name: Mohaseen,

    dob:11/11/2011,

    address: "near Church street"

    }

    ],

    local!griddata: if(

    a!isNullOrEmpty(local!search),

    local!data,

    query(local!data),

    )

    so, I used local!griddata in a read only grid, and I took a text field above the grid and gave local!search as its value.

    So if I enter 'C' in the text field, then I need to show only 2nd and 1st items from the local!data local variable as Pavan's and Mohaseen's address contains character 'C'

Children