I see how I can cancel a resize event client side if the new value is less than required from this post:
Is it possible to set the column size to the default width here?
Something like args.get_gridColumn().set_width(200);
I didn't see anything on the column object to accomplish this.
Thanks for any help,
Robert
<script type="text/javascript"> |
function ColumnResizing(sender, args) |
{ |
var newWidth = args.get_gridColumn()._columnResizer._currentWidth; |
if (newWidth < 200) |
{ |
args.set_cancel(true); |
} |
} |
</script> |
Is it possible to set the column size to the default width here?
Something like args.get_gridColumn().set_width(200);
I didn't see anything on the column object to accomplish this.
Thanks for any help,
Robert