ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: RedBully on April 07, 2014, 03:09:23 pm
-
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;
-
could you please mention your question.
-
Not sure where that went. The rest:
This is attached to a div as follows:
var VRfGPf_Pageobj = oa.pqGridDefaultObject;
-
Failed again to upload/ render for some reason. I'll attach this time. Thanks for your attention.
-
In column.editable callback function 'this' points to grid
var gridId = $(this).attr('id');
you need to pass 'this' to oa.IsCellEditable as oa.IsCellEditable.call(this, ui);
-
Excellent. Thanks.