Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144191 | Apr 24,2019 09:36 AM UTC | Jun 12,2019 09:27 AM UTC | ASP.NET MVC - EJ 2 | 4 |
![]() |
Tags: Grid |
<script type="text/javascript">
var count = 1;
var flag = false;
var resLen = 0;
function actionBegin() {
flag = true;
}
function rowDataBound(args) {
if (flag || resLen==0) {
count = this.pageSettings.currentPage * this.pageSettings.pageSize - this.pageSettings.pageSize + 1;
resLen = this.currentViewData.length;
flag = false;
}
args.row.cells[0].innerHTML = count; // Changed the particular column cell value
resLen--;
count++;
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.