Current filter:
                                You should refresh the page.
                                  • Hi

                                    I would like Non persistent objects to be batch editable. In the attached sample project, I am getting a NullReferenceException when I try this. In the attached project, the receipt object has 2 collections - a traditional persistent collection called ReceiptDetails and a Binding List of non persistent objects called allocations. Setting AllowEdit to True and InlineEditMode to    Batch works like a dream on the persistent collection. However, when I try the same on the Binding List, I get a NullReferenceException.

                                    Please help, I have a use case that radically needs to minimize post backs.


                                • Gosha (DevExpress Support) 11.30.2018

                                  Hi Ndehi,

                                  As far as I understand, the issue occurs when I set AllowEdit to True and InlineEditMode to Batch for the "Receipt_Allocations_ListView" view. Am I correct? If so, I see this error on my side. Please give me some time to research it to provide you an accurate answer.

                                • Ndehi Karonjo 11.30.2018

                                  Yes you are correct in understanding my problem. I look forward to your solution.

                                1 Solution

                                Creation Date Importance Sort by

                                I appreciate your patience, Ndehi. This scenario is not currently supported. A NonPersistentObjectSpace instance required to edit non-persistent objects can be created only for root Views only. A nested View uses its parent ObjectSpace. It's a persistent XPObjectSpace in this scenario. I suggest you use the approaches provided in the How to show the New, Delete and Edit actions in a nested ListView with non-persistent objects and How to create and edit non-persistent objects in a nested ListView of a parent DetailView for a persistent object tickets to resolve the issue.