This content has been marked as final. Show 3 replies
You cannot pass extra parameters. You should look into using an itemRenderer instead. You'll have much more control of the content.
Thanks for the reply Peter,
I have used itemRenderer and it works fine.
I have another linked question. I have setup a HTTPService to retrieve the data I am linking to the datagrid. Let us say that I use the sameHTTPService for some other calls, and at some point in time, I need to get the content of the datagrid to fill another section. That is, I need to be able to recover the content of the different rows.
I imagined there should be a property like "data" I could use to recover my datagrid data,but the only property I can find linked to the datagrid content is rowCount, which returns the number of filled rows within my datagrid.
Any suggestion on how I can retrieve the content of the datagrid, from an external function after it has been loaded?
Thanks again for the previous tip
The "content" of your DataGrid is the collection. You should really work with the collection, but if only have a reference to the DataGrid, then the DataGrid's dataProvider property is that collection. Remember, the DataGrid is just a view of the collection.