Ticket Q368921
Visible to All Users
Duplicate

ASP ListView edit all lines at once

created 13 years ago

In a windows list view, if Edit = true in the model, then the user can simply start typing on a record and it will modify the current field then they can press up/down arrows to move to edit the next record.
In the ASP list view the user must click the edit button on each row they wish to edit.
Is there a way to enable the edit mode for all rows in an ASP list view, at the same time, so that the user may move between fields by using the up/down arrows?
this would make editing many records much faster…
Thanks,
Chris

Comments (1)
Dennis Garavsky (DevExpress) 13 years ago

    Hello Chris,
    Thank you for contacting us. The described functionality is unsupported, by default, in XAF Web UI (SystemModules - Make it possible to edit multiple records in an editable ListView at once and save the changes only when needed). However, it is possible to implement it by writing custom code.
    For instance, you can customize ASPxGridView as described at How to edit multiple selected rows in a single Edit Form. You can also implement a custom List Editor, but it is not a trivial task.
    Alternatively, you can embed a custom user grid control based on ASPxGridView into a ListView as shown in How to show custom forms and controls in XAF (Example).
    Please let me know if I can assist you further.
    Thanks,
    Dennis

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.