Hi Ed
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
Dave
Ed Leafe wrote:
> On May 19, 2008, at 10:53 AM, Dave Nation wrote:
>
>
>> My grid is loaded in a form created with ClassDesigner, so I'm not
>> sure
>> how I would go about overriding processSort.
>>
>
> Go to the code editing window, and select your grid in the object
> dropdown list. Then select 'processSort' in the method list. You can
> now edit the method code for your grid instance.
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
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]