Datagrid goes back to default parent view when dataset refreshes
Hi,
I have a datagrid with childrows. DataGrid is bound to a dataset. Whenever I refresh the dataset using DataAdater.Fill() the datagrid goes back to its default parent view. Sometimes if a user is looking at the child rows in the datagrid and if the dataset refreshes at the same time, the child view closes down and the datagrid goes back to parent view. Is there any way I can stop this from happening so that if a user is viewing child rows in the datagrid and if dataset refreshes then it should'nt go back to the default parent view of the datagrid??
Thanks
bilalso Friday, April 21, 2006 7:42 PM
Hi,
I am facing the same problem. Did you find any solution. It's urgent or I have make changes in my design.
Rgrds.
Pyramid Tuesday, May 02, 2006 12:01 PM
No, I did not. I changed it.
Only way would be to remember the childrow the user is looking at and when the refreshing is done then expand that row to display the same child row user was looking at before refresh.