How to realize data recipe function in Dashboard?

Hello all, I would like to change a group data of the device.
If there are 100 devices ,each device has the same parameters ,how can I modify a group data of each device?
If select the device No. or device name , I will be able to change the group parameter of this device.


I don't know which is the better way , use some ui_text_input or a ui_form or ui_template or table ?
Any suggestions would be appreciated, Thanks .