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 | ||||
---|---|---|---|---|
| ||||
var columnIndex = getObj("Grid1").grid.getColumnIndexFromFieldName("CUSTNUM"); getObj("Grid1").grid.removeColumn(columnIndex); |
...