Table Collaboration

This API is likely to change at some point.

You can activate a dedicated collaboration button in the statusbar.

  • var popup = ts.ui.Notification;
    ts.ui.get('#table1', table => {
    	table.collabbutton(function onclick() {
    		popup.success('Go collaborate!');
    	}).cols(['A', 'B', 'C', 'D']).rows([
    		[1, 4, 7, 10],
    		[2, 5, 8, 11],
    		[3, 6, 9, 12]
    	])
    });

The button triggers a callback, but there is no default behavior associated. The API to initialize and resume a Collaboration thread will be defined elsewhere. When you are done with the button, you can hide it again.

  • ts.ui.get('#table1').collabbutton(null);