Deleting rows from QueryWebPart with a non-table query | jeckels | 2016-10-12 11:32 |
Status: Closed | ||
Hi Will, Custom queries are considered read-only, which is why can't reuse the Delete button that's available on "real" tables. You could certainly add a Delete button that performs the delete against the source table. However, an easier approach would likely be to add a wrapped column to the source table that injects your custom column. It could use a simple custom renderer by pointing at a custom DiplayColumnFactory. This would let you target the real table, so the regular delete button would be available. Attached is an example .query.xml file that does this kind of configuration. Thanks, Josh |
||