I am getting all records but needs to not show duplicate records ... any idea?
var
commaseptext = ''
;
var
gridControl = document.getElementById('DistPartGrid'
).control;
var
ids = gridControl.get_allRecordIds();
for
(i = 0; i < ids.length; i++) {
var
cellValue = gridControl.getCellValue('new_distpartnerid'
, ids[i]);
if
(commaseptext == ''
) {
commaseptext = cellValue;
}
else
{
commaseptext = commaseptext +
','
+ cellValue;
}
}
Sanjay