cyChop
8 Dec 2010, 4:49 AM
Hello there,
I have a question here: I have defined a grouping on a grid. It works just fine when I use a basic field (long, String), but when I use a complex object which I have created, the grid sometimes seems unable to distinguish between several objects, though I have implemented an equals() (which is never called, by the way).
I don't understand why it should work in some places and not others.
So would you please mind explaining me how the Grid/GridView/GroupingStore determines if two lines belong to the same group? I have skimmed the code, but could not find it.
Thanks,
(using GXT 2.1)
I have a question here: I have defined a grouping on a grid. It works just fine when I use a basic field (long, String), but when I use a complex object which I have created, the grid sometimes seems unable to distinguish between several objects, though I have implemented an equals() (which is never called, by the way).
I don't understand why it should work in some places and not others.
So would you please mind explaining me how the Grid/GridView/GroupingStore determines if two lines belong to the same group? I have skimmed the code, but could not find it.
Thanks,
(using GXT 2.1)