Use this tag for questions about PrimeReact, a collection of UI Components for React.js. Questions tagged [primereact] should also be tagged [reactjs], but NOT [primefaces].
Questions tagged [primereact]
296 questions
0
votes
1 answer
Make PrimeReact Tree of custom component
I am really new to react/UI but I have gone through basics of how it renders. I know about this Tree component in "primereact"(https://www.primefaces.org/primereact/#/) but i would like to know is it possible to make a tree of Buttons ot custom…

user578219
- 597
- 2
- 9
- 32
0
votes
1 answer
How to use clickable messages from PrimeReact in React?
I'm trying to follow this example, that uses PrimeReact clickable messages from PrimeReact components lib, but inside of it has a variable messages that I don't know where it comes from, and when running this file in my machine, it don't find…

tomrlh
- 1,006
- 1
- 18
- 39
0
votes
2 answers
Use tab key not working on Prime-react editable Data table
I used an editable data Table of prime-react , and it worked mouse click. But Problem is tab key not work.I want to enable editable mode one cell to another cell using tab key. I use Prime react version 1.4.0
A full code are given…

Md. Nasir Uddin
- 151
- 1
- 13
0
votes
1 answer
Button in Prime React Table not working
I'm using prime react to create a table, the last column of the table is for the actions that can be performed on the table, however I'm following the docs, but the onClick event is not working on the buttons. When I click on the search button I get…

fgonzalez
- 3,787
- 7
- 45
- 79
0
votes
1 answer
Handle click event when button inside cell is pressed
I have a DataTable like this:
render() {
return(

Héctor
- 24,444
- 35
- 132
- 243
-1
votes
1 answer
Uncaught TypeError: projects.map is not a function in Reactjs, was working before I made changes in MySQL
My code was working before when my two tables in MySQL were both just "id".
To add more specificity and to be able to add a foreign key, I changed the ids in the two tables to:
bugtracker_table:
id --> project_id
ticket_table:
id --> ticket_id
Now…

ttsssss
- 95
- 1
- 2
- 12
-1
votes
1 answer
How to remove menubar-button in PrimeReact's MenuBar?
I want a MenuBar with no hamburger button appearing while in responsive mode. I'm using CSS module to style my components. How can I completely remove hamburger menu button using CSS module? I can't find a way to access its specific HTML tag

Htet Oo Wai Yan
- 113
- 3
- 12
-1
votes
3 answers
State Variables vs Redux in React
Which one of the two scenarios is preferred?
Use state variables to store the value from the backend/server and use it directly in all the components(Eg: DataTable) present on the Page.
While calling the APIs, that data will load in Redux store.…

Luve Mashru
- 7
- 1
-1
votes
1 answer
Uncaught Error: Objects are not valid as a React child , If you meant to render a collection of children, use an array instead
I am trying to show a nested json object using primereact. I am able to show the fields which are straightforward. But when i am getting a nested json i am getting exception of ,
Uncaught Error: Objects are not valid as a React child (found:…

Mandrek
- 1,159
- 6
- 25
- 55
-2
votes
1 answer
why prime react dropdown not working correctly?
https://codesandbox.io/s/frosty-glade-4pfqe?file=/src/App.js
can any one help me with this prime component

Sai Charan
- 1
- 7