【发布时间】:2015-09-24 19:54:46
【问题描述】:
如何让不同页面的行号从第一页到最后一页连续??
创建连续的行号!
【问题讨论】:
标签: model-view-controller webgrid
如何让不同页面的行号从第一页到最后一页连续??
创建连续的行号!
【问题讨论】:
标签: model-view-controller webgrid
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
-----------------------------------
-----------------------------------
【讨论】: