Table column resizing

Hi,

is there a way to prevent the resizing of table columns, i.e. stop the user from changing the width of a column by dragging its border in the table header?

Thanks,
Albert

I don’t think it’s possible. You could try some tricks, such as disabling the resize handles with “.v-table-resizer {display: none}”, although that also makes them disappear visually. You could also overlay a transparent Label over the table header to prevent dragging, perhaps by putting them in an AbsoluteLayout. Both tricks have some downsides.

If you want to make the fix on the client-side, extend VScrollTable and override onResizeEvent() or onBrowserEvent(). On the server-side, just extend Table with no modifications (unless you want to communicate the feature). it should be as easy a client-side modification as one can be.