Hi, i have been working on a dashboard with a table to copy paste values i will put a picture of the result payload when i do the paste of values is an array with 8 or more objects, and inside this objects there is 3 strings with the values that i paste so basically i want to split it and grouping the values like in 3 strings for example string 1 will be: col1 = ["1","2","3","4","5","6","7"]; and the same with the values of column2 and 3.
i will put the code that i have afer the function of the table i put the action what i'm trying to to with this values like a delayed msg with the respective values on the table.
[{"id":"44274c4b.5c88a4","type":"change","z":"562890f7.12e7c","name":"ui_control & placeholder","rules":[{"t":"set","p":"ui_control","pt":"msg","to":"{\"customHeight\":20,\"tabulator\":{\"layout\":\"fitColumns\",\"clipboard\":true,\"clipboardCopySelector\":\"table\",\"clipboardCopyStyled\":false,\"clipboardPasteAction\":\"function(rowData){ this.send({ui_control:{callback:'clipboardPasteAction'},payload:rowData}); return this.table.replaceData(rowData); }\",\"columns\":[{\"field\":\"col1\",\"title\":\"Delay\"},{\"field\":\"col2\",\"title\":\"delayed msg1\"},{\"field\":\"col3\",\"title\":\"delayed msg2\"}]}}","tot":"json"},{"t":"set","p":"payload","pt":"msg","to":"[{\"col1\":\"click here & CTRL+v\",\"col2\":\"or click here & CTRL+v\",\"col3\":\"or click here & CTRL+v\"},{\"col1\":\" or on any other cell\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"},{\"col1\":\"\",\"col2\":\"\",\"col3\":\"\"}]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":360,"wires":[["4a09af46.57b2b"]]},{"id":"acfe497e.363b58","type":"debug","z":"562890f7.12e7c","name":"clipboardPasteAction","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1009,"y":343,"wires":[]},{"id":"4a09af46.57b2b","type":"ui_table","z":"562890f7.12e7c","group":"465d8685.705e18","name":"Copy & Paste","order":1,"width":16,"height":7,"columns":[],"outputs":1,"cts":true,"x":632,"y":360,"wires":[["934e8b28.585508"]]},{"id":"ea363619.991058","type":"function","z":"562890f7.12e7c","name":"clipboardPasteAction Callback","func":"// callback: clipboardPasteAction\n// DO NOT USE IN A FLOW!\n\nclipboardPasteAction = \n// copy from here\nfunction(rowData){\n this.send({ui_control:{callback:'clipboardPasteAction'},payload:rowData});\n return this.table.replaceData(rowData);\n}\n// until here\n// use the Visual Editor!\n// paste into ui_table JSON \"clipboardPasteAction\":\"function(....\"\n\n// technical details\n//\n// the example function ends with\n//\n// return this.table.updateData(rows);\n// \n// but that's not updating the data (because it does try to update data through\n// the index field (default \"id\")\n// replaceData simply erase all existing rowData and fills in the pasted data\n// that's what we want","outputs":1,"noerr":0,"x":410,"y":309,"wires":[[]]},{"id":"ea8d6c95.7abe6","type":"ui_ui_control","z":"562890f7.12e7c","name":"on tab change","events":"change","x":180,"y":360,"wires":[["44274c4b.5c88a4"]]},{"id":"934e8b28.585508","type":"switch","z":"562890f7.12e7c","name":"","property":"ui_control.callback","propertyType":"msg","rules":[{"t":"eq","v":"clipboardPasteAction","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":806,"y":360,"wires":[["acfe497e.363b58"],[]]},{"id":"ab5cfe0e.3301f","type":"ui_template","z":"562890f7.12e7c","group":"a6f95c80.0b168","name":"Clock Toolbar","order":2,"width":"0","height":"0","format":"<script id=\"titleScript\" type=\"text/javascript\">\n\n$(function() {\n if($('.md-toolbar-tools').length != 0){\n loadClock();\n }else setTimeout(loadClock, 500)\n});\n\nfunction loadClock(){\n $('#clock').remove();\n var toolbar = $('.md-toolbar-tools');\n \n var div = $('<div/>');\n var p = $('<p/ id=\"clock\">');\n \n div.append(p);\n div[0].style.margin = '5px 5px 5px auto';\n toolbar.append(div);\n\n function displayTitle(lh) {\n p.text(lh); \n }\n \n function upTime() {\n var d = new Date();\n p.text(d.toLocaleString());\n }\n\n if(document.clockInterval){ \n clearInterval(document.clockInterval);\n document.clockInterval = null;\n }\n \n document.clockInterval = setInterval(upTime,1000);\n}\n\n</script>","storeOutMessages":false,"fwdInMessages":false,"templateScope":"global","x":180,"y":240,"wires":[[]]},{"id":"1b21414e.266e6f","type":"dsm","z":"562890f7.12e7c","name":"timer","sm_config":"{\n \"data\": {\n \"delay1\": 1000,\n \"delay2\": 2000\n },\n \"methods\": {\n \"delay1\": {\n \"name\": \"setData\"\n },\n \"delay2\": {\n \"name\": \"setData\"\n },\n \"timer1\": {\n \"name\": \"timer\",\n \"param\": \"delay1\"\n },\n \"timer2\": {\n \"name\": \"timer\",\n \"param\": \"delay2\"\n },\n \"status\": {\n \"fill\": \"blue\",\n \"shape\": \"dot\",\n \"text\": {\n \"get\": \"msg.topic\"\n }\n }\n }\n}\n","x":580,"y":480,"wires":[["c1201b84.2bdb08","db26b3b2.04b65"]]},{"id":"2ab63a45.666476","type":"inject","z":"562890f7.12e7c","name":"","topic":"delay1","payload":"10000","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":460,"wires":[["1b21414e.266e6f"]]},{"id":"2a605c38.c41f94","type":"inject","z":"562890f7.12e7c","name":"","topic":"delay2","payload":"30000","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":331,"y":498,"wires":[["1b21414e.266e6f"]]},{"id":"c1201b84.2bdb08","type":"debug","z":"562890f7.12e7c","name":"","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","x":730,"y":480,"wires":[]},{"id":"fc283a2e.d3e7d8","type":"inject","z":"562890f7.12e7c","name":"","topic":"timer1","payload":"delayed msg 1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":360,"y":540,"wires":[["1b21414e.266e6f"]]},{"id":"1c01c842.f7ecd8","type":"inject","z":"562890f7.12e7c","name":"","topic":"timer2","payload":"delayed msg 2","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":360,"y":580,"wires":[["1b21414e.266e6f"]]},{"id":"db26b3b2.04b65","type":"debug","z":"562890f7.12e7c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":740,"y":580,"wires":[]},{"id":"465d8685.705e18","type":"ui_group","name":"Group 2","tab":"44f356f.ed141a8","order":2,"disp":true,"width":16},{"id":"a6f95c80.0b168","type":"ui_group","z":"","name":"hidden_group","tab":"33a639e4.55f2c6","disp":false,"width":"6","collapse":false},{"id":"44f356f.ed141a8","type":"ui_tab","z":"","name":"copypaste","icon":"dashboard","disabled":false,"hidden":false},{"id":"33a639e4.55f2c6","type":"ui_tab","z":"","name":"Zooland Sys","icon":"home","order":1,"disabled":false,"hidden":false}]