Thank you for your help.
try, return Message:
The object does not support the 'refreshDataAndView' property or method.
I added a text file
----------------------------------------------------------------------------------
function setData()
{
var datag1 = [
[1, 'Exxon Mobil', '339938.0', '36130.0'],
[2, 'Wal-Mart Stores', '315654.0', '11231.0'],
[3, 'Royal Dutch Shell', '306731.0', '25311.0'],
[4, 'BP', '267600.0', '22341.0']
];
$("#grid_array").pqGrid( 'option', 'dataModel.data', datag1 ).refreshDataAndView();
//************************************************************************
//* return Message:
//* The object does not support the 'refreshDataAndView' property or method.
//************************************************************************
// grid.option('dataModel.data', datag1 );
// grid.refreshDataAndView();
}