Passing QDataGrid Data to a method or function
Fri, 08/28/2009 - 09:24
Good Day Qcubers,
Please I have a datagrid rendered in a QPanel just like its done in the auto-generated dashboard. Now the task is that I wish to forward the displayed data (filtered by date) to an email list.
The problem I have right now is how to make the displayed data in the datagrid control available in the function for sending the email. I would appreciate any help on this please.
Thanks as usual!

During your data bind function, you set the DataSource to some array, just remember that array (in session, form property, etc), and use it again later.
Sorry Please, I don't get that. I am using the generated Ajax dashboard, does this mean that I'd have to look for the exact point where the data_bind was done and make some changes?
That would be easiest, yes. You can override the metacontrols and/or panels as needed to accomplish this storage.