On 04/25/2013 07:57 PM, Sabarish Sridhar wrote:
Hi guys,
I am trying to dynamically populate a grid using DABO from a cursor dataset
. I have used the following methods but none of them seem to work:
*self.Form.regIdOfGrid.DyanmicDataSource=functionthatreturnsdataset();*
call the* update* method.
For some reason it does not update.
*self.Form.buildFromDataset(dataset)*-This works but it adds columns. I
want to create a whole new grid and not append columns. I could not find a
method to remove all columns. Otherwise this could be used after removing
the columns.
Could someone please tell me the best way to populate a grid dynamically?
Post your code to pastebin.com or dabo.codepad.org (I think that might
be down).
But I do have a question - are the column headers changing along with
the data?
Johnf
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]