This Knowledge base explains the way of how to show S.No (as like in MS-Excel row header) in grid and how to maintain the same even after sorting?
We have achieved it using template property of columns in grid.
Here using templateRefresh and actionBegin event in grid we have passed the row number for grid row header. Also when sorting the grid it will maintain the S.No value as it is like in the initial rendering.
Figure 1: shows that grid contains first column as row header identity column
Figure 2: shows that the row header maintains its identity after paging
Figure 3: shows the grid row header maintain even after sorting the grid
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.