ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: nonolady on June 13, 2016, 12:29:08 pm

Title: Uncaught use groupOption() to set groupModel options.
Post by: nonolady on June 13, 2016, 12:29:08 pm
hello!

i try to use this sample http://paramquery.com/pro/demos/group_rows
add toolbar item to reload the grid
{type:'button',
label:'Reload',
listener: function (evt) {
grid.pqGrid( "refreshDataAndView" )
}
}

but,it not work.
 it's error message :Uncaught use groupOption() to set groupModel options.
Is it possible to use grid.pqGrid( "refreshDataAndView" ) on Row grouping? Thank you.
Title: Re: Uncaught use groupOption() to set groupModel options.
Post by: paramvir on June 13, 2016, 02:44:00 pm
Correct syntax is grid.refreshDataAndView();
Title: Re: Uncaught use groupOption() to set groupModel options.
Post by: nonolady on June 14, 2016, 08:03:08 am
Thank you for the quick reply.
It works now. ;D