We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

add new record not populating foreign key

Hi, I have a child grid that allows entry of new records. How can I have the linking field to the parent grid populated when a new record is entered? It won''t save the record otherwise. THanks

1 Reply

AD Administrator Syncfusion Team February 6, 2004 03:58 AM

You can handle teh CurrentCellMoving event on each of the child grids. If you are moving to teh AddNew row, add a datarow to your childtable, and populate it th eway you need it so it satisfies the latest filter. Here is that sample back showing teh idea. Parent_Child_Child_DropDowns_5105.zip

Loader.
Live Chat Icon For mobile
Up arrow icon