Hi,
I am trying to access one of the global collections from a button click function. I have a requirement to show a detail list based on button click. On button click i need to show inactive records otherwise i should show active records on a list.
I am able to show Active records , however not sure how to do the button click functionality. In the button click event i am unable to access any global variables or collections including state. Please suggest, i am using office react ui controls.