Mui-datatables: onSearchOpen callback (similar to current onSearchClose only triggering when the search icon is clicked)

Created on 10 Oct 2018  路  2Comments  路  Source: gregnb/mui-datatables

Expected Behavior

As we already have onSearchClose (see https://github.com/gregnb/mui-datatables/issues/145) I think we can also use a similar callback for when a user opens the search dialog and showSearch is true.

Current Behavior

The searchbox is opened offering a "value has changed" and "box has been closed" callback, but not for "box has been opened"

Thank you very much :)

Most helpful comment

Sure, would you like to submit a PR for this?

All 2 comments

Sure, would you like to submit a PR for this?

Will do.

Was this page helpful?
0 / 5 - 0 ratings