I use jqGrid v4.4.5 and I want to create it with dynamic columns. It is filled by \"jqGridHandler.ashx\" file . I want send all information(column name,data,...) by JSON .
Before your initialize the jqGrid you will need to have the information for your colNames and colModel properties of the jqGrid.
So in short, you will request the information from your server, once you have successfully retrieved that information you can then build the jqGrid and then the jqGrid can go and fetch it's data.
The following post has some example code on the client side: jqGrid and dynamic column binding