All Questions
935
questions
-1
votes
1
answer
33
views
hi guys i would like to ask about filter in react
hi guys i click on checkbox and i didnot get value even i click to second checkbox i would like to know the problem to fixed it thanks.and when it filter i coming after i click to second checkbox ...
0
votes
0
answers
24
views
React Table filter by Column
I have this code that is a component for a table in react vite with tsx, right now I'm trying to apply some input filter in each column. I alredy have the filter logical, but the table is rendered ...
0
votes
3
answers
55
views
Filter an array of objects based on multiple categories
The data looks like:
export const data = [
{
id: 1,
company: "Photosnap",
logo: "./images/photosnap.svg",
new: true,
featured: true,
position: "...
0
votes
0
answers
16
views
Issue with Filter Functionality in React Context API
I'm working on a React project using the Context API to manage state between components. Specifically, I have a filtering functionality that should display campaigns based on selected categories. ...
0
votes
2
answers
25
views
Preserving exact path to object that matches query string
I have modal in a React app that renders a list of items with a list of nested values and a search bar. When the user types into the search bar, I need to be able to match that input to an item in the ...
0
votes
1
answer
27
views
how can I add filter to search bar of website by j.s
i have question in search bar .
in a page I have at least 30 product .
i will add filter that when client search the name of product ,product show .
i tried to craete filter but I couldnt write ...
0
votes
0
answers
37
views
Filtering logic with Elasticsearch (.net core/react)
I'm currently working with an Elasticsearch setup that houses around 100,000 records. In this setup, we utilize a React front end and a .NET Core back-end to dynamically filter data based on user ...
0
votes
1
answer
26
views
Filtering incorrect letters in React app not working properly
I'm writing a simple Hangman game using React and trying to implement functionality to filter out incorrectly guessed letters from the word. The Keyboard (buttons) and HangmanDrawing components seem ...
0
votes
0
answers
17
views
Failed to paginate data after filtering by a certain criteria
Here's my DataSensor code that display data table with fields (id, temperature, humidity, brightness, createdAt). At first, when I don't use filter, all data will be loaded according to the page I ...
0
votes
0
answers
27
views
How to do decimal filtering using @inovua/reactdatagrid-community react?
I'm trying to do is decimal filtering using this package:
Incoming data in its simplest form is like this:
"Odds":[
{
"HomeOdd": 2.39,
"DrawOdd": 4.26,
"AwayOdd"...
0
votes
4
answers
73
views
How to filter specific key values from array based on the other key
I am having an array with name of the product and its storage
let array = [{name: "samsung A", storage: "128GB"}, {name: "samsung B", storage: "128GB"}, {name: &...
0
votes
0
answers
32
views
Adding filter and subfilter to category
i have a working category view page.
but after adding filters and sub filters to the category. in the view page my products are not shown when clicking on the filters.
i tried consoling, it shows all ...
0
votes
0
answers
45
views
useRouter and pull part of address and do filtering accordingly
There is a filter component on my main page:
<Filters clickFunction={clickFunction} checkedSpecialty={checkedItems} />
When clicking each specialty it filters the list of consultants accordingly ...
1
vote
0
answers
231
views
Custom Filter Tanstack/React Table
I'm trying to filter a list of objects by a filter object:
condition: {
"WHERE",
"AND",
"OR"
}
id: {
"firstName",
"lastName",
...
0
votes
1
answer
42
views
React - Removing a state array item after a checkbox is unchecked
So I have a state that updates when a checkbox is clicked, the item successfully is added to the state array. I'm having trouble figuring out how to remove that same item from the state array once it'...