Reordering Grid Columns
- Using the gridId, browse to select the grid to modify.
- Locate the grid's gridColumns property.
-
Edit the
order property of the columns.
Tip: The columns can be unsorted in the array. It is common practice to leave gaps between numbers so that future columns can be easily inserted.For example:
"gridColumns": [{ "showCheckColumn": true, "field": "showCheckColumn", "order": 0 }, { "field": "objectTypeName", "order": 10 }, { "field": "ClassName", "order": 20 }, { "field": "Name", "order": 25 }, { "field": "Code", "order": 22 }, { "field": "ScopeName", "order": 30 }],