Index of Array in LocalStorage Variable

Hi there,

I need to search a local storage variable for a date string and return the index of that variable so I can retrieve the rest of the data.

I have attached the model below:



I have a local variable called 'jobData' of type 'HistoricalData'. The data is populating fine from the server request and database, but I can't retrieve it locally from a search.

Please can you tell me how I can search for a 'date' string and return the index of 'HistoricalData' that it is contained within?

Many thanks
Mike
1 person has
this question
+1
Reply