You can use the following functions to manipulate an HTML data set.
Function |
Description |
Example |
---|---|---|
getURL() |
Returns the value of the current URL being used in the data set constructor. |
ds1.getURL(); |
setURL("theURL") |
Sets the path to the new file to use for the data set. |
ds1.setURL("mynewfile.htm"); |
getSourceElementID() |
Returns the ID of the page element being used as the data source for the data set. |
ds1.getSourceElementID(); |
setSourceElementID("theSourceID") |
Sets or changes the ID of the page element used as the data source. |
ds1.setSourceElementID("thenewID"); |
getRowSelector() |
Returns the CSS selector used by the data set to identify the rows of data in the HTML data source. |
ds1.getRowSelector(); |
setRowSelector("theRowSelector") |
Sets a new RowSelector for the data set. |
setRowSelector("myID"); |
getDataSelector() |
Returns the CSS selector used by the data set to identify the columns in the data set. |
ds1.getDataSelector(); |
setDataSelector("theDataSelector") |
Sets a new DataSelector for the data set. |
setDataSelector("myID"); |