This method retrieves a the column index number id based on a field name. The column id is equivalent to the column index before the user (or custom application code) hides or moves any columns.
Parameters
- fieldName - field name, as defined in the subfile record format
Example
Code Block | ||||
---|---|---|---|---|
|
...
| |
var |
...
columnId = getObj("Grid1").grid.getColumnIndexFromFieldName("CUSTNUM |
...
" |
...
); |