I’m stuck on following matter:
I have a datagrid with 10 items… I also added a extra row (row number 11) where I show a total of prevouis fields… But I always want to keep this last row (the totals) on the last line of the Datagrid (so always on position 11).
This means that when the datagrid is sorted on a column, the last row also changes in position according to the value in the datafield. Is there any easy and straightforward way of preventing it to be sorted with the other columns so that the column with the totals is always placed last? Or what approach would I use best?
Thanks for any help!
Please find below code Hope this may help you, i tried some workaround to achieve what you are looking for i am not sure how feasible is this code:-