Problem seems to be with get/set data (if used by you) in item renderer. Most probably you have put one condition in set data to set some particular characteristic but have forgot else case to undo that. I hope you know that flex create a pool of itemrenderers and reuse them. If you can post the code it will be easy to fix.
Thanks, Akhil On Jul 25, 11:43 am, vyongjay <[email protected]> wrote: > Please follow my explanation here : > > 1. I have a datagrid which holds a dataprovider that has 3 columns > 2. one of those 3 columns is button itemrenderer, others are integer > 3. After implementing the grid, I put 4 rows into the grid > 4. Then I set a button in one row to disable, others are enabled > 5. Then I try sorting the datagrid by click on the column header that has > integer column (not button column). So it should be sorted by some number in > other column. > > 6. The expected result is that the disable button should go with its > initial row. But the actual result is that when you click to sort about 2-3 > times, the buttons (in all rows) will have a wired behavior. The disabled > button sometimes turn back to enable, and sometimes turn to disabled but > stay on a wrong row. > > Is there anyone got a solution on this?? > -- > View this message in > context:http://old.nabble.com/Flex%27s-itemrenderer-problem-when-sorting-on-d... > Sent from the Flex India mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

