Skip to main content

All Questions

Tagged with
0 votes
0 answers
23 views

How to keep ag grid filter after selecting all filtered?

I have an ag grid table that I am filtering, and upon a button click it is set to select all the rows that are currently filtered using selectAllFiltered(), and after clicking the button the filtered ...
Cameron Kranz's user avatar
-3 votes
1 answer
43 views

Filter/Remove array object based on value, from nested JSON array object in JavaScript

I have a filter criteria to apply on REST response. This response have nested sub objects. For loop going in task and filter function is not working on nested array objects. Please help me to filter ...
Mithilesh choubey's user avatar
-3 votes
1 answer
53 views

How to loop through a nested JSON object which contains objects and and arrays of objects

I am trying to recreate the search functionality of outlook. My entire data set is contained in the following interfaces: export interface Folder{ id: string | null; name: string; folders: ...
Qiuzman's user avatar
  • 1,457
1 vote
0 answers
42 views

Filter a wordpress table with JS?

I'm building my own WP theme and I try to avoid JS in Wordpress like the plague because it's hieroglyphics for me... And I still haven't found a resource to learn correctly in a WP environment.... ...
f.soucy's user avatar
  • 23
1 vote
0 answers
56 views

Ag Grid Community Version v32.0.0 breaks if filter = true

I am using AG Grid Community in JavaScript. After upgrading to AG Grid v32.0.0, my grid is stuck in the loading phase. In the console, I encounter the following error: ag-grid-community.min.js:1 ...
Andreas Bougiouklis's user avatar
0 votes
1 answer
52 views

How to filter array by value between two arrays with more object with javascript? [duplicate]

I have 2 array: var array1 = [{"name":"abc", "url":"http:://example1.com"}, {"name":"cde", "url":"http:://example2.com"}...
Duc Minh's user avatar
0 votes
1 answer
45 views

Filter a new array which index is divided by two [duplicate]

I have a array of number. I want to filter a new array which have element which index is divided by two Example: let arr = [1, 4, 5, 2, 8, 9, 7, 10]; I want filter a 2 new arrays like: let odd = [1, ...
Trương Khôi's user avatar
1 vote
2 answers
37 views

How do I auto fill an empty value of an object in an array with an object that matches from another array in JS?

I've been trying to create a table that auto fill empty fields depending of the previous information provided but I don't know how to make it possible, do you have any idea? Here's an example of an ...
Yanfer Araque's user avatar
0 votes
0 answers
34 views

Choosen plugin not working with dynamic created rows in html table

I am trying to filter drop down list with the help of choosen plug in, its working fine for first row. But when I clone or dynamically create more row, then drop down list become inactive and and ...
Student's user avatar
  • 21
0 votes
1 answer
38 views

sap.ui.comp.filterbar - Clear of filters works in BAS but not in hosted BSP application

I have a strange behaviour in my UI5-freestyle application. It is being developed in BAS, with JS, freestyle UI5, and the backend is CDS ala RAP via Eclipse. If i want to clear all filters inside the ...
icbytes's user avatar
  • 1,841
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: "...
Saptaparnee's user avatar
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. ...
Pushkaraj Chauhan's user avatar
1 vote
2 answers
43 views

How can I filter from several params in data-id

I'm trying to make filter from several divs: <div class="sgmt" data-id="orange, apple">First one</div> <div class="sgmt" data-id="onion, apple"&...
Sergei Shumailov's user avatar
-2 votes
2 answers
60 views

Remove item in array not include substring

I have a string like this let myarr = ['A511-0001-01', 'APWA-0001-03', 'APWA-9999-99']; and i have a substring to filter myarr like AP. let filteringCondition = 'AP'; how can i get myarr to (remove '...
BAO TRUNG NGO's user avatar
0 votes
0 answers
25 views

Make filters apply only after another specific filter has been selected in JS

This is my first time writing code. I'm using JS. I'm trying to make it so that on my commerce website, you don't see all of the color options in the filter until you select what color family you want....
Ariane's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
344