score:0
Accepted answer
had the same issue. apparently you can't use filtering with lazy loading mode (link). makes sense really.
for sorting, you could pass an onsort
function and everytime a sort event happens (i.e: user clicks on the column header), you can send back a db request.
const onsort = (e) => {
// use e.sortfield and e.sortorder to send a db request,
}
<datatable onsort={onsort} ... // rest of the stuff />
Source: stackoverflow.com
Related Query
- PrimeReact - Problem with datatable and lazy loading
- Webpack 2 configuration for Tree shaking and lazy loading with System.import on React project
- Lazy loading pages with BrowserRouter Lazy and Suspense
- How to implement lazy loading in DataTable of PrimeReact
- React.js: loading JSON data with Fetch API and props from object array
- Problem with protected routes, context API and firebase user authentication request
- How to test snapshots with Jest and new React lazy 16.6 API
- set chunk path a with webpack and react lazy code splitting
- Loading SVGs within .scss with Webpack and svgr loader
- React lazy with TypeScript and Redux
- webpack and react jsx - hot loading not working with docker container
- Loading a GLTF model with Three JS and React JS
- Lazy loading reactJS app with laravel backend
- Build problem with React viteJS and was amplify
- Loading data asynchronously and downloading CSV data with a click is one step behind the latest retrieved data
- Using react material-ui autocomplete with loading and freeSolo props
- Lazy Loading Routes in React With Typescript AsyncComponent
- What is the problem here with setTimeout and Closure?
- Problem with re-renders in React with useCallback and useMemo
- problem with union and intersection type in react props
- Timing Problem with SetState and PreviousState
- Images are not loading in browser with react, webpack and express
- React server side rendering and lazy loading of webpack
- There is a problem in making multiple select boxes with react and type scripts
- pass props with Lazy loading in react-router-dom v6
- Problem with request in react and express.js
- Problem with npm build and babel in React Create App
- Problem with promise and create-react-app
- Quill-blot-formatter is not registering with react-quill on import through next/dynamic and keeps showing loading
- React-leaflet v3 and leaflet-contextmenu plugin problem with map instance
More Query from same tag
- Getting undefined error when operating on a mocked window navigator object
- Can't Get React Component to Update or Pass Prop
- For loop behaving when trying to clear all items asynchoronously when trying to remove all id's in an array of id's
- Use external font for inline CSS in React.js
- Javascript Map and Filter on two array
- I have made a counter through react.js class component but it is not incrementing i donot know what is wrong with it
- react lib elliptic json appear on prod bundle
- Props not being passed down to Material UI button text
- Corda RPC: A hot observable returned from an RPC was never subscribed to
- Cannot print string using ReactJS
- Change scroll button Icon on Material UI Tabs component
- CDN vs Webpack for React
- Unable to implement React-table sever data loading
- Create a new array from an existing array of objects
- Ant design Form validation is not working and not updating input values when component is from a state that is passed from a function
- Conditional HOC in ReactJS
- docker build was failed due to "COPY failed: no such file or directory" error
- Typescript with react-stripe-elements does not pass injected props
- why I am getting error in the code in nextjs script tag
- React Link element causing the app to fail
- Detect when player has finished loading source after a new currentTime is set in videojs
- Relay was unable to reconcile edges on a connection
- Styling a Form.Check (checkbox) control in react bootstrap
- Why can't I send my props to a component?
- React Typescript - InferProps accepts null but JSX Attributes does not (i.e. id)
- React hooks, setting state on select
- issue with routing in react
- Font Awesome 5 use social/brand icons in React
- Error in showing my modal in React component
- JSX not rendering whitespace