Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00804904
Message ID:
00805023
Vues:
37
>If I'm using mmDataGrid to display child records, and I have AddRowsWithDownArrow = true, it doesn't automatically populate the parent foreign key field (as it does when I call NewRow() directly).

>Should it do this? And if not, where's the best place to hook into for getting this field populated (and any other defaults I might have).

When you add the row by pressing the down arrow, you're completely circumventing the business object. A new DataRow is added to the DataTable "behind the back" of the business object so none of its logic kicks in. I'm not aware of a good place to hook into this...that's why I made it easy to turn off the behavior.

>Also -- the description for AddRowsWithDownArrow is incorrect. It currently reads: "Specifies if all columns are automatically resized at runtime."

Thanks...I'll correct the description.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform