Paul McNett wrote:
> Yes. The choices in the list come from the list in dabo.dColors.colors,
> and the fact that we want the custom editor is my setting it to the
> column object's listEditorClass attribute.
>
>> -----------------------------------------------------------------------
>> from dGrid Test (dGrid.py)
>>
>> col = dabo.ui.dColumn(self, Name="Color", Order=40, DataField="color",
>> DataType="string", Width=40, Caption="Favorite Color",
>> Sortable=True, Searchable=True, Editable=True, Expand=False)
>>
>> self.addColumn(col)
>>
>> col.ListEditorChoices = dabo.dColors.colors
>> col.CustomEditorClass = col.listEditorClass
>> -----------------------------------------------------------------------
>
> You got it!
>
> Paul
>
>
Can the CustomEditorClass property be set in Class Designer and if so
what is a correct way to do it?
Where do I find what CustomEditorClasses are available?
Thank you
Paul McNary
pmcnary@...
_______________________________________________
Post Messages to:
Dabo-users@...
Subscription Maintenance:
http://leafe.com/mailman/listinfo/dabo-usersSearchable Archives:
http://leafe.com/archives/search/dabo-usersThis message:
http://leafe.com/archives/byMID/487E51C0.5060602@...