Hi,
I have already managed to implement custom row header using the rowHeaders
then passing a function inside that. By the way, I’m still using React.
But we have decided to not use the pre-built row headers, but use a custom row header through a cell. Cause on my part, I will be putting a checkbox and name initials side by side inside a same cell (in this case, was put in the row header).
Actually, we have real assets (prototype designs) but I cannot show them to you for some reasons. So I just draw a sample out of it
I tried implementing that in the pre-built row header but I cannot select the checkbox separately, coz both checkbox and initial container are in the same row header box. So my plan is to separate them in their own column but visually, let them look like that they are just one, you know by hiding the line border or any strategy to do that would be awesome as well.
So to recap, just want to explain it more clearer:
- First goal is to create 2 columns that will act as a row header, so meaning we will set the
rowHeaders={false}
. - The 1st column (all rows below it) will contain checkbox and the 2nd column (all rows below it) will have the user’s name initials.
- The second goal is to merge those two columns and make them look as if they are inside one container.
- This one is like of a question, how to implement single click on a cell, and select checkbox directly, cause right now i think we need to double click a cell in order to manipulate the elements inside it. And checkboxes should recognize single clicks.
I think those are main goals for this. By the way, if you have a more clever way of implementing these, please let me know. I’m open to ideas.
Thanks again for your help guys!