I have a grid object defined in a .js:
oa.pqGridDefaultObject =
{
flexWidth: true,
flexHeight: true,
//numberCell: { resizable: true, title: "#", width: 30, minWidth: 30 },
collapsible: false,
scrollModel: { horizontal: false },
showHeader: true,
showTitle: false,
//topVisible: false,
//bottomVisible: false,
showBottom: false,
selectionModel: { type: 'none', subtype: 'incr', cbHeader: true, cbAll: false },
//numberCell: true,
editable: true,
//editor: { type: 'textbox' },
rowDblClick: executeParamGridCommandSet,
cellSave: executeParaGridSaveCommandSet,
etc.
This is attached to a div as follows:
var VRfGPf_Pageobj = oa.pqGridDefaultObject;