On May 20, 2008, at 10:56 AM, Dave Nation wrote:
> I'm sorry to be so dull but you suggested :
>
> def processSort(self, gridCol=None, toggleSort=True):
> super(<your grid class>, self).processSort(gridCol=gridCol,
> toggleSort=toggleSort)
> self.CurrentRow = 0
>
>
> I don't know how to replace <your grid class> above.
>
> The grid in the CDXML has Name, RegID and code-ID all set to
> "productGrid"
> if I use self.Form.productGrid for <your grid class>, I get TypeError
> Exception
> and if I use dabo.ui.dGrid, I get an AttributeError Exception
I'd just use the generic __class__ attribute, which will always
return the object's class:
def processSort(self, gridCol=None, toggleSort=True):
super(self.__class__, self).processSort(gridCol=gridCol,
toggleSort=toggleSort)
self.CurrentRow = 0
-- 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]