3.0.5

Can I hide row numbers?

Basically I want to eliminate the column of row numbers on one of my grids. How?

Thanks,
Mike
Mike
February 15,
It is hidden by default, you have to set a property to make it visible. So to hide the left most column, DO NOT call setSelectorVisible(true), or call setSelectorVisible(false) just to make sure.
Jim Hunter (www.FriendsOfAW.com)
February 15,
I didn't have a call to setSelectorVisible in my code. So mine is defaulting to showing the row numbers. I have v1.0; I don't know if that makes a difference here or not. Anyways, I tried both of these...

obj.setSelectorVisible(false);
&
obj.setSelectorProperty("visible", false);

and each returned an error saying the object doesn't support the method. Any ideas?
Mike
February 16,
You posted your question under the AW.UI.Grid (version 2.0) header and selected it to be a 2.0 question, sorry that I didn't know you are using 1.0. The method setSelectorVisible() is a 2.0 method. If you search the past posts you might find something on this for version 1.0 but I have never needed to do it so I am not familiar with any way to do it.
Jim Hunter (www.FriendsOfAW.com)
February 16,
For version 1.0, you would use

obj.setRowHeaderWidth("0");
Mark
February 17,
For Version 1.0, you would use

objGrid.setRowHeaderWidth("0")
Mark
February 17,
Got it. Thanks.
Mike
February 17,

This topic is archived.

See also:


Back to support forum