I have two api calls one for fetching the list of records.
second api call is when I expandComponent for each record.
I am using the react-bootstrap-table and expandComponent.
When I click on expand symbol, its going infinite loop and the values of the expanded component is changing based on the row.id for all the records fetched in the first api call.
Need help in loading the expand component when I expand on a row and the api call should go for the record expanded.
I have two api calls one for fetching the list of records. second api call is when I expandComponent for each record. I am using the react-bootstrap-table and expandComponent. When I click on expand symbol, its going infinite loop and the values of the expanded component is changing based on the row.id for all the records fetched in the first api call. Need help in loading the expand component when I expand on a row and the api call should go for the record expanded.