Change Database Values on Form

Change Database Values on Form

Comments

  • I have a requirement where a user is able to click on a cell in a report and edit its data. Im currently using a report viewer on a page, but I would need to right click a row and edit necessary row data. Is there an easier way to accomplish what Im looking for?

    In addition, I would like to be able to use a dropdown to change values for a few columns rather than a textbox. Can this be done?

  • Hi,

    What you are referencing is what we refer to as making inline edits. This Document should provide information on building a process to make in line edits and save edits to the database: [url=https://documentation.decisions.com/docs/editing-data-grid-items-inline]https://documentation.decisions.com/docs/editing-data-grid-items-inline[/url].

    The example provided in the Document uses data grids as a way to make these edits; however, data repeaters will be more suitable for your use case. Data repeaters are much like Data Grids, yet it allows more customization when it comes to adding form controls such as the dropdown. I have attached a simple example using a data repeater to edit data.

    Including this Document for reference: [url=https://documentation.decisions.com/docs/create-repeater-form-control]https://documentation.decisions.com/docs/create-repeater-form-control[/url]
    [b]
    [/b]
    [i][b]Please Note:[/b] The examples attached were developed to be instructional, and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact: services@decisions.com[/i]
    [i]edited by cameron@decisions.com on 4/2/2020[/i]

Sign In or Register to comment.