JQGrid column resizing at runtime

I need to resize a JQGrid column at runtime.

For example, the column width for the column was 100 pixels when loading. I need to change it to 200.

Please, help.

+6
jqgrid
source share
1 answer

Unfortunately, there is no way to do this using the jqGrid API. From the documentation :

As mentioned above, parameters in colModel can be obtained or set using the getColProp and setColProp methods. Below are the parameters that cannot be changed dynamically when building the grid (if they are changed, they have no effect or will cause grid errors). For some of these options, methods are available to change the value:

  • name
  • width
  • mutable
  • label (avail. method)
0
source share

All Articles