如何使不同页的行号连续地从第一页开始到结束页??
创建连续行号!
发布于 2015-07-07 11:04:52
I had faced such problem but solved already.
you have to make the index of the row number as follows;
declare a variable int rowVal=0;
grid.Column(header: "Serial_No", format: item => rowVal = rowVal + 1 + (grid.RowsPerPage * grid.PageIndex)),
-
*
> (grid.RowsPerPage * grid.PageIndex) ==> calculates the offset of the row index of the page number
-----------------------------------
-----------------------------------https://stackoverflow.com/questions/31266682
复制相似问题