0

I am new to react. I want to achieve the below functionality in react for a grading table of students. How can I do that?

Please refer to the images.

Change the table cell into an input box

Change the table cell into an input box

Editable cells in the table

Editable cells in the table

Below is the snippet I have tried till now: code

5
  • 1
    What have you done so far? please share relevant codes Commented Sep 23, 2020 at 15:52
  • @MehdiDehghani Below is the snippet Commented Sep 23, 2020 at 16:18
  • @MehdiDehghani I have updated the description please check Commented Sep 23, 2020 at 16:32
  • @MehdiDehghani can you please help Commented Sep 23, 2020 at 16:40
  • Please put your code here, btw there is lot of libraries out there which do exactly what you trying to do. sure you can do it yourself but you need to learn more about react first. if you want to do it as practice I recommend do simpler things first. Commented Sep 24, 2020 at 4:01

1 Answer 1

1

I had similar requirements in one of my projects lately and I used React Data Grid library. Basing on your description, it has everything you need.

Sign up to request clarification or add additional context in comments.

2 Comments

without using react-data-grid can I achieve this? if possible can you help me with a small POC
Why don't you want to use a library that does exactly what you need? There is even a POC in Sandbox. Of course, it is possible to achieve a similar effect even in pure JS, but it would require much more work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.