G
Guest
Dear all,
I am using a datagrid which is populate from an array list items
This array list can be updated at anytime.If this occurs I need that the
content of the datagrid get synchronise too.
The problem I have is that if I clear the all datagrid, and update it to the
new array list content, it might happen that I can see my grid bliking, and
thats bas behaviour for eyes.
The idea I get is to scan each arraylist item and verify if it exist in the
datagrid, if it exist it means that data still need to be shown.
If some of data grid data are not prsent in the array list, I should delete
the current grid item which is search from the grid. I have try to use the
grid ItemCollection but could not get it working.
How can I search for an item in a datagrid, then retrive its current
position and delete that position records from datagrid ?
thnaks fro your help
regards
Serge
I am using a datagrid which is populate from an array list items
This array list can be updated at anytime.If this occurs I need that the
content of the datagrid get synchronise too.
The problem I have is that if I clear the all datagrid, and update it to the
new array list content, it might happen that I can see my grid bliking, and
thats bas behaviour for eyes.
The idea I get is to scan each arraylist item and verify if it exist in the
datagrid, if it exist it means that data still need to be shown.
If some of data grid data are not prsent in the array list, I should delete
the current grid item which is search from the grid. I have try to use the
grid ItemCollection but could not get it working.
How can I search for an item in a datagrid, then retrive its current
position and delete that position records from datagrid ?
thnaks fro your help
regards
Serge