Access the Tulip Tables in Tulip Widgets

Can we access the tulip tables from tulip widgets? If yes, then how can we access the tulip tables from the Tulip Widgets?

yes, we can do that using the following steps:
step -1 Access a Tulip Table in a Widget

step-2 Add a “Custom Widget” to a step
Custom Widget JS Code


html <div id="table-data"></div>
Click “Custom Widget” from the Toolbox.
Drag it onto the step.
Choose your widget from the dropdown
Click “Test” .

I just copy pasted it all but its quite not working

What error are you getting?