Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Sorry. I don't have a solution to this. I haven't used formsets for a few years.
>I works like you said but whenever I press Save button of toolbar which called the active form save method it goes back to the top level form intrestingly this behaviour is in some form of same formset and not in others.
>
>
>
>>The lostfocus of the last control of the form you could set the focus to the first control on the form. This will override the default behaviour and eliminate the problem.
>>
>>>But I have already built my application and I am in middle of debugging it
>>>
>>>
>>>>>I got a problem. Whenever I press tab in the last object of child form in a formset (in respect of whatever mode I am i.e., edit or Add mode) it goes back to the top most form. I tried every thing like MODAL etc. but to the control goes back to top most form.
>>>>>Any suggestion would be highly appreciated.
>>>>
>>>>This is the expected behavious.
>>>>
>>>>Formsets are not usually worth the problems. Think about using 1 form with several pages on it.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement