On May 21, 2008, at 8:18 AM, Dave Nation wrote:
> I've now overridden grid.processSort() as you suggested, but setting
> self.CurrentRow does not change it's value.
>
> I also tried changing it in GridAfterSort() method but no joy.
>
> In the code below all 3 print statements print the same value when a
> column heading is clicked, and the selected record remains the same as
> before the sort.
Hmmm... I wonder if there is a timing issue here. Try this: instead
of using:
self.CurrentRow = 0
try:
dabo.ui.setAfter(self, "CurrentRow", 0)
There might be some bizobj stuff happening after the grid tries to
set its row, so see if this takes care of it.
-- Ed Leafe
_______________________________________________
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]