I am working on lazy loading page the problem is
when i bind first time page (10) records then primary properly bind with records and when my next 10 records load using lazy loading then the primary key not change it shows 1st records primary key
check the below code in which i am assigning assetid (primary key) but its not assiging properly please help
function OnSuccess(response) {
//alert('testing');
var xmlDoc = $.parseXML(response.d);
var xml = $(xmlDoc);
pageCount = parseInt(xml.find("PageCount").eq(0).find("PageCount").text());
var customers = xml.find("AssetSummary");
customers.each(function () {
var customer = $(this);
var table = $("#ExtraDiv table").eq(0).clone(true);
$(".a", table).html(customer.find("Assetid").text());
//$("#description", table).html(customer.find("Description").text());
//$("#assetCode", table).html(customer.find("AssetCode").text());
//$("#location", table).html(customer.find("Location").text());
$("#ExtraDiv").append(table).append("<br />");
});
$("#loader").hide();
}