You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the search API, I was noticing that there is no way of accessing the data item in the custom search callbacks because it is not passed to the callback:
Is there a reason why we don't pass the original data to the callback?
IMO, it should be accessible, especially because some columns might represent nested objects or arrays that are displayed using a quick summary (such as: "5 items") but the search function should actually have access to the array.
Is it worth a PR?
The text was updated successfully, but these errors were encountered:
While using the search API, I was noticing that there is no way of accessing the data item in the custom search callbacks because it is not passed to the callback:
react-grid-table/src/hooks/useSearch.jsx
Lines 58 to 61 in 5e5ac47
Is there a reason why we don't pass the original data to the callback?
IMO, it should be accessible, especially because some columns might represent nested objects or arrays that are displayed using a quick summary (such as: "5 items") but the search function should actually have access to the array.
Is it worth a PR?
The text was updated successfully, but these errors were encountered: