Hi Ria,
Thanks for your reply.
I am also using SAP MII 14.0 SP4.
In second scenario, as I mentioned, I am still getting error at
gridObject.getGridObject().setDisplayColumns("Column1,Column2");
gridObject.refresh();
I guess this error might be because I am not giving any initial parameters to Query and also
gridObject.getQueryObject().setParameter("Param.1", param1value);
is not working. So my Grid will not get any data and further it cannot set any display columns. Once I am resolved with the parameter setting issue I will get the setDisplayColumns command working.
I am making this statement based on a case where I hardcoded the default parameters in query and then try setDisplayColumns function. In this case, no errror is thorwn.
Please confirm this.
I am facing one more issue:
On page load, I do not wish to update my grid with any data but I need the grid to be displayed. So I am drawing the grid on initialize function(with no default/ actual parameters). So it throws error at this moment also. Is there any way to avoid this error.
Regards,
Minakshi