Problem with RowReorderLayer and indexes. [message #1131276] |
Thu, 10 October 2013 11:25 |
SD Khan Messages: 63 Registered: May 2013 |
Member |
|
|
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 11:26] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03567 seconds