My SP is returning duplicate records, don't want to make changes in sproc. I want to avoid displaying duplicate rows on UI. I am able to do that
if (index != 0 && row.Cells["Colmn"].Value.ToString() == gridTableList.Rows[index - 1].Cells["Colmn"].Value.ToString())
{ row.Hidden = true; }
My Issue is, as we are only hiding records, Rows.FilteredInRowCount or Rows.Count is returning the rowCount which SP returns.
e.g. If SProc is returning 26 rows and my logic is hiding duplicate records and showing only 13 records. (Can't delete it as AllowDeletable is false)
However, rowcount will still display 26. How can I get it as 13?
Hello,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.