Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$scope PropertyTypeSummary
tableDataarrayArray of objects that model the data displayed in the table.
changedDataarrayArray of objects that are new or have changed between the previous tableData and the new tableData just received.
sortParamsobjectCurrent sort parameters – the column (sortCol) and sort direction (sortDir).
loadingbooleanTrue if the page is loading for the first time, or if it is taking longer than 500ms to get a response from the server.
autoRefreshbooleanTrue if auto refresh is toggled "on", false otherwise.
autoRefreshTipstringMessage for the tooltip directive for the auto refresh button.
sortCallbackfunction reference

Function that sends the websocket request for the tableData.

(takes one optional argument that is an object of the sort parameters)

selIdstring or nullID of the currently selected item or null if nothing is selected.
selectCallbackfunction referenceFunction that sets selId and calls user-given selCb if given.
toggleRefreshfunction referenceFunction that toggles auto refresh on and off.