This is a migrated thread and some comments may be shown as answers.

AllowColumnChooser and HideColumnChooser not work!

2 Answers 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 15 Feb 2011, 08:24 PM
Hello,

Recently I needed to hide the column that represents the slider's records RadGridView (leftmost column of the GridView) to all appearances, it was enough to indicate "AllowColumnChooser" as "false ".

But even setting the value of "AllowColumnChooser" as "false", the selector of records continued to appear.

I also realized through the method attempts ".HideColumnChooser()" and neither worked.

Finally I found it was necessary to set the property value "ShowRowHeaderColumn" to "false" to get the picker does not display records.

Questions:
1. What is the purpose of property "AllowColumnChooser" and method ".HideColumnChooser()"?
2. What is the explanation for me to use the property "ShowRowHeaderColumn" and the result is to hide the column chooser?

Control and Package Version:
* RadGridView
* Telerik WinForms VSExtensions 2010.03.1214.0
* Telerik RadControls for WinForms

2 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 15 Feb 2011, 08:52 PM
Hello Daniel,

Setting
Me.RadGridView1.AllowColumnChooser = False
will hide the column chooser option from the menu.

Perhaps you are using Load and Save layout? If you are, then delete your layout files for this grid and you will find that this works correctly. If not, then please post a sample that replicates the issue and I'll be happy to take a look at this for you
Thanks
Richard
0
Richard Slade
Top achievements
Rank 2
answered on 16 Feb 2011, 03:10 PM
Hi Daniel,

Please remember to mark as answer if this helped, but if there's other information that you need, just let me know
Thanks
Richard
Tags
GridView
Asked by
Daniel
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Share this question
or