GetRowsCount works not correct

5 replies. Last post: October 25, 2009 11:13 PM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi

I want a loop over all rows on Client Side. I have write following code:

for (var k = 0; k < grdComputerLine.RootTable.GetRowsCount(); k++) {

    if (grdComputerLine.RootTable.GetRow(k).Type == "Record") {

        // do something...
    }
}

But GetRowsCount works not correct if there are pending changes (Batch Update Mode).

Please have a look on attached pictures.

Regards

Michael

All times are GMT -5. The time now is 7:41 AM.
Previous Next