Hello Abdul,

The "Save the NEW header?" question is build quite deep into the VdfGrid. It
is asked when the grid gets the focus and there is no header table in the
buffer. This is default behavior and can't be modified easilly (althrough we
are thinking about more flexible ways to build this in future releases). To
modify this behavior you will have to change the VdfGrid class.

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/
"Abdul Rahim" <abdul@itrixinc.com> wrote in message
news:xUxYh$$4IHA.5068@dacmail.dataaccess.com...
> Hi All,
>
> I am working on VDF14 and AJAX Library 1.2.
>
> I have created a order header and detail part.
>
> When new order header is being created it is asking to "save header"
> before entering into detail part grid.
>
> But if I edit the saved header it is not displaying the message to save
> the header instead of the focus is moving to child grid(i.e detail grid)
> without saving the header part.
>
> I have tried this behavior with "AjaxOrderEntry", there it works
> same,not saving the edited header.
>
>
> When I search for some solution in AJAX Library help I found:
>
> "getChangedState" and "getDisplayChangedState"
>
> is these function can be helpful in this concern,if yes then how can I
> use them?
>
> or is there any other solution for this behavior?
>
>
> -------------
>
> Warm Regards,
> Abdul Rahim.
> Epura India.
> Itrix Inc.
>