VTable icon indicating copy to clipboard operation
VTable copied to clipboard

Question: Embed a VTable inside a VTable Cell as hierarchy

Open khuntia opened this issue 1 year ago • 4 comments

Hi VTable Team

I am evaluating vtable to see if this will work for our usecase. I am impressed with the responsiveness and speed !

I have a further noob question. My usecase is that of highly scalable table but with hierarchy. Ie like a list table or tree-table.

I see this is possible in vtable as we can collapse/expand rows to expose more rows. What I want to understand is when I expand a row, its children which get inserted, i want each child to be another completely independent vtable (Obviously this row will then have a lot bigger dimension of width and height). In effect it opens up another table itself (with its own headers and data). And when collapsed that table gets un-rendered/destroyed.

I was thinking if we merge the cells of the child row and make it one cell and then the content of the cell being another new vtable. Will this work? I am sorry I am not well versed on vtabe, hence the basic question.

Thanks Abhi

khuntia avatar Sep 01 '24 16:09 khuntia

https://visactor.io/vtable/demo/table-type/list-table-group Not sure if this effect meets your needs? 20240902162058_rec_

Or do you have a rendering for us to refer to? @khuntia

fangsmile avatar Sep 02 '24 08:09 fangsmile

https://visactor.io/vtable/demo/table-type/list-table-group Not sure if this effect meets your needs? 20240902162058_rec_ 20240902162058_rec_

Or do you have a rendering for us to refer to? @khuntia

@fangsmile Looking at something like below except that we can collapse or expand the internal child like in the example you gave. Table inside table in an efficient manner. Presently I am doing this in our usecase using flutter animatedlist but it wont scale, but below is an example of exactly what i am looking for:

https://tabulator.info/examples/6.2#nested-tables

image

khuntia avatar Sep 02 '24 18:09 khuntia

We have previously planned the feature of having tables within tables. However, it is still in the scheduling phase and will require some time before it becomes available.

fangsmile avatar Sep 03 '24 01:09 fangsmile

We have previously planned the feature of having tables within tables. However, it is still in the scheduling phase and will require some time before it becomes available.

@fangsmile understood, will wait for it :) thanks!

incaranato avatar Sep 10 '24 16:09 incaranato