Hi, check whether ur itemrenderer is placed in container like canvas, vbox or hbox.
-- *With Regards, PRAVEEN. RAMINENI **http://praveenramineni.webs.com/* <http://praveenramineni.webs.com/> On Mon, Jul 25, 2011 at 9:13 PM, 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-datagrid-tp32132877p32132877.html > 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. > > -- 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.

