What inspired this wish list request? JMP's own context menu for a tablebox knows what column you clicked over and offers some column-specific options. I find that I sometimes want to prevent users from accessing some of the things on the built-in context menu. (I'm making a custom application or UI and don't want them to be able to make certain changes, etc. ) Or there are other cases where the context menu would be a nice place to put a custom script, and to do that I can't just add to that menu I have to replace it with <<Set Context Menu Script, and so I want to replicate some of the built-in features some of which can't be replicated currently. Or I might want to make a custom script that is column-specific and that is not possible currently. What is the improvement you would like to see? << SetContextMenuScript for a TreeBox has a callback function letting you refer easily to "thistree" and "thisnode" in the script. So, it would be great if the one for TableBox could have a callback function with thistable and thiscolumn. Why is this idea important? It's possible, but fiddly, currently to have the scripts refer to "this table", so thistable callback would be a convenience. It's not possible to know what column the user clicked over at all in JSL. I'm told the tablebox object does not currently receive that info at all so this would be difficult, but in the below Support Ticket conversion I was encouraged to make a wish anyway in case some thought would lead to a good/easy way to do this. Anyway, it would mean you could write your own scripts for the context menu that are column-specific, not just table-specific, something you can't do today.
... View more