Returns table cells.
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get all columns
var cols = tableCtrl.getCols();
console.log(cols);
// Get cells of first column
var firstColCells = cols[0].getCells();
console.log(firstColCells);
// Get cells of second column
var secondColCells = cols[1].getCells();
console.log(secondColCells);
Get the control type of a datarange column.
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get all columns
var cols = tableCtrl.getCols();
console.log(cols);
// Get control type of first column
var fistColControlType = cols[0].getControlType();
console.log(fistColControlType); // could return upTextVControl, upIntegerVControl and so on...
Return a jQuery list with all HTML column nodes of all records.
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get all columns
var cols = tableCtrl.getCols();
console.log(cols);
// Get cells of first column
var firstColCells = cols[0].getHtml();
// Change background color of all cells in the first column to blue
[...firstColCells].forEach((cell) => cell.style.backgroundColor = "blue");
Represents a table column - a collection of cell objects (Cell).
Example