Hi @CSkjodt,
This thread came up when I did a web search for "JSL scripts to group scripts in data table" as I was looking to do this exact thing.
Although I have the JMP 14 scripting manual, I typically go to the community pages first and see what solutions there are. In this instance, the book actually solved it faster!
At least when using JMP 14, you can:
Group scripts in a table manually by highlighting them and right clicking (for Windows machines), then selecting Group Scripts. They can be renamed manually by the normal methods.
Or, you can write a JSL code to do it for you, which I found in the manual on p. 445.
Example:
dt << Group Scripts(
"Group Name",{"Script 1", "Script 2",..."Script N"}
);
You can then move them around in the data table, similar to moving a column.
Example:
dt << Move Script Group("Group Name", to last | after("Script B"));
Where you would choose either "to last" or "after()".
You can even write scripts that perform operations on the scripts within a Group by first getting the list of scripts within a group in the data table and operating on the desired script (by number) within the Group.
I haven't gotten through a whole lot of the book, but it's very helpful and so far has been much better at explaining things compared to the Scripting Index within JMP (although that's quite helpful too).
Hope this helps!,
DS