The platform grid part deletes the selection row
Delete the grid part selection row without deleting the data in the database. You need to check the "allow multiple selections" property of the grid widget to delete multiple rows; press the Ctrl key when you select multiple data.
Create a new form, bind the read-only business table, and add a "delete selected row data" function in the form function management. The specific code is as follows:
Running effect:
Press and hold the Ctrl key, select multiple pieces of data in the grid, and click the "Delete Select Row data" button, which will delete the selected data from the grid, but not from the database, so click the "Refresh" button to delete the data from the new display.
Original address: http://bbs.delit.cn/thread-1077-1-1.html
Please indicate the source of the reprint:
Written by: measurement Technology http://www.delit.cn