:: Forum >>

Fixed width and Clicks in cells


Is there a way to set fixed widths to columns? Is there a grid wide way to prevent any action from occuring when the user clicks in any part of the grid?

Thank you!
Tom Green
Wednesday, February 28, 2007
In AW 2.0.2 you can prevent column resizing with

obj.setColumnResizable(false);

You can also disable navigation actions

obj.setSelectionMode("none");

Or disable the grid control completely

obj.setControlDisabled(true);
Alex (ActiveWidgets)
Wednesday, February 28, 2007

Thanks, but what about in version 2 itself?

I appreciate the help!
Tom Green
Wednesday, February 28, 2007
obj.setSelectionMode("none") works in earlier versions, the other two methods don't. You can try hiding the header separators to make them 'non-resizable' -

.aw-grid-separator {display:none}
Alex (ActiveWidgets)
Wednesday, February 28, 2007

Gracias!!
Tom Green
Wednesday, February 28, 2007

This topic is archived.


Back to support forum

Forum search