Okie. Here is how i can explain it all. The panel header is the actaully arraycoll. data.That i am binding on the parent grid.Now when u click on the row,i make a call to get data for that row.Now the itemrenderer component has a datagrid whr data is populated after some manipulation.I mean data i get is diff. from wat i want to display.So,i make the changes for ex. i use a sort function n all tht.Then i want to show it on the itemRen. comp. Like myitemRenderer.label.text=name;
For this how do i access renderer comp. for that row. On Dec 16, 1:40 pm, Akshar <[email protected]> wrote: > will the data be same for each row in the datagrid or will it be > different. i am not able to get the whole context of the problem. > here is what i understood about your problem:- you have a datagrid > having a custom itemrenderer. on clicking on the datagrid you want > that itemrenderer to show some data. > > my questions:- > 1) clicking on a particular row should show the data only in that row > or all the rows? > 2) how are you populating your datagrid? > 3) how do you get the data when user clicks? > > On Dec 16, 12:41 pm, sheetal <[email protected]> wrote: > > > Hey thanks for the Reply. > > I cant use binding because i dont hv the data till i actually click on > > the grid. > > > On Dec 16, 12:02 pm, Akshar <[email protected]> wrote: > > > > did you use [Bindable] while defining the variable. > > > > On Dec 16, 11:57 am, sheetal <[email protected]> wrote: > > > > > Actually that is the issue.i am making the call after the component is > > > > created.So binding is not helping. > > > > I need to explicitly assign the value.I mean i have datagrid and may > > > > values which i get only after calculation. > > > > > On Dec 16, 11:27 am, Akshar <[email protected]> wrote: > > > > > > you can bind the text of the label to a variable. Then showing the > > > > > data is just a matter of changing the variable value. > > > > > > On Dec 16, 11:11 am, sheetal <[email protected]> wrote: > > > > > > > Hi All, > > > > > > I am using a panel with a Label on it as a csutom itemRenderer in a > > > > > > Datagrid.On the click of the grid i make a call to get data for > > > > > > selected item and want o display it.For this i need to access the > > > > > > itemRenderer instance and the Label in it.Please share your ideas on > > > > > > the same. > > > > > > > -sheetal -- 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.

