Hi,
The reason I''m asking is that I get an error when trying to drop down a child grid that has no records, but is supposed to allow new records to be added. The error I get is ''there is no row at position 1". It seems that when I add a new record to the child grid where other records already exist and then got to a different record in the parent and again drop down the child grid where there are no records it gives me this error. I''ve attached the code if you wouldn''t mind taking a look. To reproduce:
1. open file called test_ice2.xml
2. click on first child grid in first parent record
3. add a new record to this grid but do not click out of the new record so the pencil icon remains on this new record
4. click on the first child grid in the last parent record. You should get the error ''there is now row at positon ..."
Can you tell me how to solve this bug?
>If you have set the rowfilter on your dataview with code like:
>
>this.dataView1.RowFilter = "????something";
>
>
>then this.dataView1.Count will give you the visible record count in the dataview.
Test21704_2212.zip