Thursday, May 29, 2008 11:47 AM
I have an UltraWebGrid that I needed to clear all the rows out of. I found an article on the Infragistics Dev Center that suggested a looping construct that used the row.NextSibling!=null comparison. The problem was that it didn't work...the row.NextSibling would always return 'undefined'.
So I decided to take a different approach which actually works really well:
[Edit: Sorry, SubText doesn't like it when you try and copy/paste code directly into the web text editor apparanetly. Image version is below]

Voila...I've noticed that there's a bit of a delay that occurs while the rows in my grid delete (there's alot of them), but I'll worry about prettying that up later....at least for now I have them clearing out.
Hope this helps someone else.
D