JQGrid Column Width

I found a way to set the jQGrid width:

$('#Grid1').setGridWidth(705, true);

This is resizing all the columns to fit that width when I go through true. This is normal, but the question is:Is it possible to keep constant width at least one column of grid when i call setGridWidth() or is it possible to change width only one column of the grid?

There is a function in the source code of the grid setColWidth = function () { }, but I'm not sure how to call it, and how to skip the width in the form of prarm there, it does not accept any parameters, by the way.

Help is needed.

+2
source share
1 answer

You can try using the fixedcolModel parameter to keep the width of one of the columns constant.

+5
source

All Articles