extend, narrow grid's width

I set one of the grid’s column to width 200px and total size to 500px.

  1. when I drag and extend the column, I would to extend to 500px, (not over).

  2. when I drag and narrow the column, I would to narrow to 200px, (not below).

Is that possible?

Thank you.

to limit the decreasing of column you can use setColumnMinWidth() methode: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_setcolumnminwidth
To limit the increasing of a column you can use onResize event.
Something about this way:

mygrid.attachEvent("onResize",function(cInd,cWidth){ if (cWidth>500) return false else return true; })