Get specific object from gridview mergedcells

0 Answers 14 Views
GridView
mark
Top achievements
Rank 1
mark asked on 08 Jul 2022, 11:20 AM

I have a gridview with horizontally merged cells. Its an overview of weekly tasks.

I have 5 columns representing monday-friday in there, and I want to be able to copy values from another item to a mergedcell.

Basically, If the same person is responsible for a task on a monday,  and another task the whole week, I want to be able to copy that person to a mergedcell, and make its value apply to all underlying cells.

I'd like to be able to do this with the actual underlying collectionview, but for now I'm using a workaround with the visual tree. My only issue is that I can find a certain row/column index in the mergedcells, which reflects the virtualized position, i.e. where it is on the screen, which includes group headers. 

Is there a way I can get to the collection of all items currently visible myself? including group headers? So I can find the dataitem?

 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
mark
Top achievements
Rank 1
Share this question
or