Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

291
Views
How to show table Data in single Table Row in react js

I am fetching My User data from the backend. I am using Bootstrap Table to show the data. see the image enter image description here

I want to show all the Records under the one Table in Row Formatting

This is my code

 <div>
  <table className="table table border shadow table-striped table-md table-hover" style={{ marginLeft: '4%', marginTop: '13%', width: '173%' }}>
    <thead className="table-light">
      <tr style={{ color: 'blue', "fontSize": "18px" }}>
        <th scope="col">#</th>
        <th scope="col">Name</th>
        <th scope="col">Email id</th>
        <th scope="col">Role</th>
        <th scope="col">Action</th>
      </tr>
    </thead>
    <tbody>
          <tr>
            <th scope="row">{ 1}</th>
            <td>{user.name}</td>
            <td>{user.email}</td>
            <td>{user.role}</td>
            <td>
              <button type="submit" onClick={()=>{updateUser(user)}} className="btn btn-warning mx-1">{<FaUserEdit />} Edite</button> 
              <button type="submit" onClick={() => { deleteUser(user._id) }} className="btn btn-outline-warning mx-1">{<MdDelete />} delete</button>
            </td>
          </tr>
        
    </tbody>
  </table>
</div>
about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!