This project is read-only.

Items processor position

Dec 19, 2013 at 8:45 AM
Hello,

I have some trouble setting up the grid to achieve the behaviour I want. I have a a grid that displays a collection of 120 items. Pager cuts rows this number to 20 entries at a time. Now I want to perform a specific operation on every item that is being displayed. So I am adding an items processor, that does what I want. I works great, however, the action that I am trying to execute on 20 rows, gets executed on all 120 rows.

Here is the code I am using to process my items in the grid:

int ProcessorPosition = 0;
        Grid<TViewModel> Grid = new Grid<TViewModel>(GridItems);
        Grid.InsertItemsProcessor(ProcessorPosition++, new GridEncryptionProcessor<TViewModel>());
How do I force the grid to execute my items processor after all other processors (filtering, sorting, ect.)?
Dec 23, 2013 at 3:03 AM