I walk-through Datagrid -> DatgridBase -> ListBase source code. Still i am unable to fix this problem.
It is happen in Datagrid's mouseUpHandler.
Any one, please help me to resolve this.
Difficult to help you without any code...
Do you do something when you click on a row ? I mean do you have listener on click, mouseUp, selectionChange, ... that could change the dataprovider or the datagrid ?
Do you use spark or mx datagrid ?
Thanks to reply me.
I am useing flex 3.5 Mx datagrid. i am using different item renderers in all columns. while i click on any row that will set as first row in datagrid.
I am sure that is a defult behavior of Mx.Datagrid. Because i didn't do that in my code.
If anyone faced this probelm, please reply.
I fixed this issue.
I wrote a function for datagrid change event. At that function i changed some dataProvider values. and i apply dgd.dataProvider.refresh();
this leads to this problem. After removing that dgd.dataProvider.refresh(), It works fine.