Grid Problems 
Author Message
 Grid Problems

Scenario:
Add 5 rows to a grid control using AddItem with an OID from POOM stored in
each RowData property.
Remove row 3 using RemoveItem.
Retrieve RowData for row 3.

Problem:
The OID that is retrieved after the RemoveItem is wrong.  Instead of the OID
associated with what was row 4 being retrieved the OID is the one associated
with the old row 3 that was removed.

Is this the expected behavior?

Rob Trainer



Thu, 04 Dec 2003 21:56:11 GMT  
 Grid Problems
It's not what you'd expect, but it's what you get.

You can workaround the problem by using column 0 ( set it's colwidth to 0 )
to store your OID's.

Mike


Quote:
> Scenario:
> Add 5 rows to a grid control using AddItem with an OID from POOM stored in
> each RowData property.
> Remove row 3 using RemoveItem.
> Retrieve RowData for row 3.

> Problem:
> The OID that is retrieved after the RemoveItem is wrong.  Instead of the
OID
> associated with what was row 4 being retrieved the OID is the one
associated
> with the old row 3 that was removed.

> Is this the expected behavior?

> Rob Trainer



Fri, 05 Dec 2003 05:36:04 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem!Problem!Grid Problem!

2. Calculation in grid problem

3. BeeGrid / #Grid Problem with sorting

4. APEX True DB Grid Problems

5. VB5/RDO/MS Data Bound Grid Problem

6. RDO and True DB Grid Problem

7. Grid Problems

8. DB Grid Problem using ODBC

9. Grid Problem

10. flef grid problem

11. Grid problem

12. Grid - Problem

 

 
Powered by phpBB® Forum Software