We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The search feature stopped working in the new 6.1.0 release. The old 6.0.6 version works well.
In my case, the function searchURL is never executed.
function searchURL(prev, keyword){ console.log(prev, keyword); return `${prev}${prev.includes("?")? "&": "?"}search=${keyword}`; } React.useEffect(() => { if (grid == null) { const data = null; var table_grid = new gridjs.Grid({ columns: columns, sort: false, pagination: true, fixedHeader: true, search: true, resizable: true, data: data, search: { server: { url: (prev, keyword) => searchURL(prev, keyword) } }, server: { url: url, then: (data) => unpackData(data) , total: (data) => data.count, }, pagination: { limit: 10, server: { url: (prev, page, limit) => `${prev}${prev.includes("?")? "&": "?"}limit=${limit}&offset=${page * limit}`, }, }, }); setGrid(table_grid); table_grid.render(wrapperRef.current); }else{ grid.render(wrapperRef.current); } }); return (<div ref={wrapperRef} />); };
No additional errors or warnings from grid.js
The text was updated successfully, but these errors were encountered:
I noticed the same issue only in version 6.1.0 which was released yesterday (#1408). cc @afshinm
Sorry, something went wrong.
@vkresch @SaturnR This is fixed now, please try https://github.com/grid-js/gridjs/releases/tag/6.1.1
Successfully merging a pull request may close this issue.
The search feature stopped working in the new 6.1.0 release. The old 6.0.6 version works well.
In my case, the function searchURL is never executed.
No additional errors or warnings from grid.js
The text was updated successfully, but these errors were encountered: