Problem with RowReorderLayer and indexes. [message #1131276] |
Thu, 10 October 2013 07:25  |
Eclipse User |
|
|
|
Hi!
Actually i have applied labels on the base of row indexes getting from event list, now, when i sort the row indexes, and apply styles on the base of labels, everything works fine but when i use reorder layer to move rows up, down then labels get disturbed and after reordering when i apply style on a row then it gets applied on some other row.
I investigated issue and found that when sorting is applied, row indexes are not changed in the event list, only change is done in the filter list and as a result labeling does not disturbed, but when i perform row reordering then rows are moved and their indexes are get changed in the event list so now labeling get disturbed and now styles get disturbed.
Situation is now.
If i get the row indexes from row reorder layer then get the wrong indexes after sorting performed because row reorder layer does not update its indexes on sorting.
If i get the row indexes from the event list then get the wrong indexes after row reordering is performed because it changes actual row indexes in the event list.
Is this right behaviour of Row reorder layer ? or i am missing something ? , or if there is any work around to get it through on both scenarios i.e sorting and reordering without having problems with assigned labels ?
Regards,
Safdar Khan
[Updated on: Thu, 10 October 2013 07:26] by Moderator
|
|
|
|
|
|
Re: Problem with RowReorderLayer and indexes. [message #1131393 is a reply to message #1131309] |
Thu, 10 October 2013 09:30  |
Eclipse User |
|
|
|
Right, As i verified now, RowReorderLayer do change the indexes in the event list. But as you said, the right behavior is to not disturb that. Moreover when sorting is applied there should be a change in the transformation list of RowReorderLayer, which is not happening at the moment.
|
|
|
Powered by
FUDForum. Page generated in 0.04718 seconds