Hi. As I am new on the mailing list, I would like to thank you for such
a great framework. And here's the situation: I have a page-framed
database app. On the first page I have a grid displaying all the records
in a table of my PgSQL database, and a button, which onHit method is the
following:
def onHit(self, evt):
clDS = self.Form.getBizobj(dataSource="public.clients").getDataSet()
ds = clDS.filter('balance',0,'gt')
self.Form.cltable.buildFromDataSet(ds)
I found some info about it in wiki, I tried it, and I almost liked the
solution. But there's a problem: the records' columns are displayed
twice (or almost twice), that is, I have one record, which has not 8
(like in original view with the default datasource), but 16 columns in a
row. I would like to find answers to two questions:
1) How can I fix it?
2) Is there a possibility to clear the dGrid before displaying on it
something else? Maybe there is an event or something.
Thanks a lot. Respect,
Stanislav Colotinschi.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]