You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Yes, For many hours, I have been searching for a solution to add rowSpan for my data-table. I found some answers, but all of these are related to Table headers. But my I want to implement the rowSpan in my Table rows not on the Table headers. My Data is something like that:-
In the example above, if I use filter and I try to filter for No of shares =2, I have the cell "Id" and "Buyer" that are hidden, so the will translate to left.
How can I resolve the iusse?
I order my rows by the 2 ids (in this case the id of buyer and then id of investement)
in the column props style and attrs I put a callback function that check that in rowsFiltered there is a row with same id buyer and smallest id investemnt.
a) if there is I hide the cell how is done above
b) if there isn't, it means that is the rows to show to the user. I calculate the number of rows in rowsFiltered with same id
and use this number as rowSpan, always as mentioned before.
Hope this is helpfull :)
Is your feature request related to a problem? Please describe.
Yes, For many hours, I have been searching for a solution to add rowSpan for my data-table. I found some answers, but all of these are related to Table headers. But my I want to implement the rowSpan in my Table rows not on the Table headers. My Data is something like that:-
Describe the solution you'd like
First of all created a function to re-arrange the data:-
The retuned data from the function will looks like this:-
Then describe your column data structure as follows:-
Finally your table looks like this:-

The text was updated successfully, but these errors were encountered: