How to add table points to a UI table?
-
Is it possible through scripting?
-
-
@d-healey use
Engine.createAndRegisterTableData()
andScriptTable.referToData()
?HiseSnippet 838.3ocsU0tSSDDEclRWBsJFIwGfM7qRRsYqBnIDi.kVSiBzPQh9Kxvt21NgcmoY1oEZL9z3KiON9Fn2Y1sc2pUDZh8Ga58bumcN68qoiR5CwwREgV57ICAB8wNcmHzCZLfwEj1GQnOw4XVrFTtIPGNYHKNFBHT5Juy.PKUjX+8i2dHKjI7gLHB4BI2G9.OhqyP6r+64ggsXAv47nbQu89s8khFxP4HTOq33QFx7ul0GNgYBqfCgtZy.tVp5pYZHlPcNTFLo6.4Mhj3ufGyuJDLF0IcwWTBbKYXfQwFzSGCpwb3lLLOBow.dXPmo4hXBgVrSVlYkjLyybNlGvmgmkgdp0gaFi74HZg4kbw4jb8+sjWn7n4jmSh71voquhOTm4wnsG4zVfEudLrrjWVmLJ5bFdtljHs.l7SHSJ7MpSCIRQnqEwtFZoPiYuhJ654U0Eer0dkKqf9tZy63Hll49F2lh9bATyWA3W5Ahfyf9bSiy4SioRcCMrDGqcGyTIjQhSOu9ftgLZnTfFU1zRq9lHEab0hADLlMFZK5n.zZypt8XgwvrHTPO7zj1iZlvLG4LiZVhU1ZO2bXrf.6Y0Qxwy0q1NUcwGHudiD9ZtT3JEmH0vohJaU9KkKU9qkc+cW85sPeluLkLLDTKzso8WcWDqHFEcEnphoqvQvr.wtn4apV890T4mjnyEnTzVv0mNDRsyOo7mscjzJE9uO11j6LchoXXbCAklajC8HXLN1mzWVx4HH9ZsbnM1zxKgtl15c8ztVaEfvwidMmjJO41rMC78mjY748ugGnGXZb+NZN.38GnMVAnksr1VD.2ZPnHR9VFCVxJnrwmhIxDGhkAiBY54mrMq3RcfUl4FgLSEhXtdR9UfOfwcu+xFpEj2umxcCmNbs+fEq2BKPuX86+sdSWdttSyd8.eclXK5z5SK6lxGfTNSNRyE8OloUbSOAt3qKd+hOfJQHfvYK.Ss8l1izEDAVieh+RcVeZSkwY8oNIQLek7R+jYVy540rHnlD1atJgWgh1t0I14XjmiWMORDdqwk99lTwyQsuXNuXI37xkfy1KAmcVBN6tDbd0Rv402IGyE1GLRKiRFSPfNMsKznzlByJDaGI4WkUcc+C
-
@d-healey I have no idea why it only works with "saveInPresent" disabled.
-
@civet Your snippet doesn't load for me, HISE just crashes. But also is there a way to do it directly on the table without needing to use a separate data object?
-
Content.makeFrontInterface(600, 600); reg tableData = Engine.createAndRegisterTableData(1); const var table = Content.getComponent("Table1"); table.set("saveInPreset", false); table.referToData(tableData); tableData.reset(); tableData.addTablePoint(0.5, 0.5);
-
@civet I need a method that doesn't require a separate data object, I have lots of tables and don't want to create a data object for each one.
-
@d-healey said in How to add table points to a UI table?:
@civet Your snippet doesn't load for me, HISE just crashes. But also is there a way to do it directly on the table without needing to use a separate data object?
I haven't used it before
-
@d-healey for now I reckon you have no choice but to use a data object, at least that’s what I do…
-
@ustk I have another choice, I shall not implement the feature I was planning to implement :D
-