How to exclude last row of grid when sorting any column
How to exclude last row of grid when sorting any column
Hi All,
I am new to extjs4, and i need help.
I have a data grid which display some records. When we sort data on column wise i sort all the rows of the grid, but I don't want to sort the last record of the grid as it contains different data. Can any one help how to do this.
There is nothing available to provide this functionality. Since you are using remove data/sort, perhaps you can manipulate the data before it is sent back to client.
Can I ask what the intent is .. this is a curious request.
Actually i am display some data in grid and in last row i am display sum of each row for all the column.
so when sorting the last row should stay at last only.
Now if i sort the last row is shuffling to first row.
Is there a way to override the sorting functionality in store/view, so that i can skip the last row.
Is it possible in this way?
But i have two more concern.
1. How to change the font style and size of the summary row?
2. Suppose a column having data of time [ Example : 1:10 , 0:30 , 2:40 -> sum= 4:20 ], how to calculate sum for this type of data.