Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Friendly Names for ig.excel.WorksheetTable instance
posted

I would like to give my WorksheetTable a different name other than the default "Table1", "Table2", etc.

It looks like i can do something like this:

var myWorksheet = $("#spreadsheet1").igSpreadsheet("option", "workbook").worksheets().item("Sheet2");

myWorksheet.tables().item("Table1").source()._at = "MyTable";

Is there a better way? Is the line above safe to use?

I'm thinking we aren't supposed to use the underscore properties since they aren't documented but I can't find a better way.