How to filter array of data from one id in grid

Hi All,

I have a requirement tehre is column in a table story multiple values with text datatype
 

and when I'm trying to filter them on grid using filters then I'm using this code to show on filter dropdown: line 68-82

 

then getting dropdown as this:
:

But from first screenshot when I'm trying to search any one of the data from array example: 213396 then my grid is displaying empty data and for other data as well who are in array in grid

help me achieve this,
Thankyou!


  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi  , 

    I'm not clear with your expectation, But let me try solving based on my understanding.

    So, you want a dropdown filter. In which, it should filter the record. And on that particular record, you just need to display only the selected value from that list of values in the array of that respective record. Am I right?

    If that was the case. In the particular column of that grid, use the index function. Here, Provide the data as that Array list and Index as that Selected value. 

    Hope it helpsBlush

Reply
  • 0
    Certified Senior Developer

    Hi  , 

    I'm not clear with your expectation, But let me try solving based on my understanding.

    So, you want a dropdown filter. In which, it should filter the record. And on that particular record, you just need to display only the selected value from that list of values in the array of that respective record. Am I right?

    If that was the case. In the particular column of that grid, use the index function. Here, Provide the data as that Array list and Index as that Selected value. 

    Hope it helpsBlush

Children
No Data