Login

  • Sign in with Intersoft Social ID
  • Sign in with Intersoft ID (Developer Network)
  • Sign in with Google ID
  • Sign in with Open ID. Click for more options.
Intersoft Social ID
Password
Intersoft Latest Learn More

Latest Development Blogs

Blog RSS
Loading
Retrieving News

Forum                   Topics  Post

WebGridTable.Rows Client Side Bug?

3 replies. Last post: May 11, 2010 9:40 AM by Yudi
Rate this topic:
Average rating: Not rated yet.
Tags :
  • (None)

Hi,

I have a hierarchical table structure in my WebGrid where there is one RootTable and one ChildTable.  I want to iterate through all rows of my child table to look for certain "StatusID" column values and if found set the WebGrid to automatically refresh after a set period of time, when I will perform the check again.

The code I have written is as follows:

        var grid = ISGetObject("grdEDMPortfolios");

var childRows = grid.RootTable.ChildTables[0].Rows;
for(var i = 0; i < childRows.length; i++)
{
alert(childRows[i].GetCells().GetNamedItem("StatusID").Value);
}

This does not work however since the "ChildTables[0].Rows" property never returns the child rows as described in your WebGrid documentation, it always returns null.

Is this a bug?  And how do I do this without have to iterate though each RootTable row then having to get each child row which seems like overkill.


Regards,

Adrian.

All times are GMT -5. The time now is 12:59 AM.