Hello,
In my project I need to link some cells with external objects.
So I use Grid.Objects[Col,Row: Integer]: TObject
as described at pag.21 of the TMSFMXGridDevGuide.pdf guide.
For example I make a grid with six rows and link the cell at
column 0 with a respective object
Grid.Objects[0,1]=MyObject1, Grid.Objects[0,2]=MyObject2 etc..
So I have every row linked with its object
Row1 --> MyObject1
Row2 --> MyObject2
Row3 --> MyObject3
Row4 --> MyObject4
Row5 --> MyObject5
Row6 --> MyObject6
Everything works well until I apply a filter. If for example
I apply a filter that shows only the even rows I obtain
Row2 --> MyObject1
Row4 --> MyObject2
Row6 --> MyObject3
It seems that the list of the objects is bound to the physical
position of the grid and it doesn't follow the cells while
they are moving, and it is not really useful for me.
For now I solved using another method, but the question is:
is this the normal operation of the connected objects or
it is a bug?
Kind Regards,
Danilo
Working on:
TMS Pack for FireMonkey 2.8.1.2, last version at the time of writing
Delphi XE7 Update 1
Windows 7 Service Pack 1, 64 Bit