Versions Compared

Key

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

This method retrieves a column index number based on a field name.

Parameters

  • fieldName - field name, as defined in the subfile record format

Example

Code Block
languagejs
titleRetrieve column index and then remove column
var columnIndex = getObj("Grid1").grid.getColumnIndexFromFieldName("CUSTNUM");
getObj("Grid1").grid.removeColumn(columnIndex);

...