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

[Solved] First Column Empty??

4 Answers 242 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 30 Jun 2008, 04:10 PM
I have two grids and both of them have a column on the far left that I did not set.  It has nothing for a header and no data in it. 

I would like to remove that column, what is the setting that can allow me to remove this column?

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Jul 2008, 06:03 AM
Hi Mike,

You can set ClientSettings.Resizing.AllowRowResize to false.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mike
Top achievements
Rank 1
answered on 01 Jul 2008, 12:27 PM
Vlad,

Thanks, that worked!  What is interesting is that I am still able to resize the columns :)
0
Accepted
Princy
Top achievements
Rank 2
answered on 01 Jul 2008, 12:42 PM

Hi Mike,

Have you set the column resize property to true? Try setting it to false as shown below.

ASPX:

                   <ClientSettings> 
               <Resizing AllowColumnResize="false"  /> 
              </ClientSettings> 
          


Thanks
Princy

0
Mike
Top achievements
Rank 1
answered on 01 Jul 2008, 12:49 PM

Yep, you're right I changed AllowRowResze="False" d'oh! 

This setting has removed the first column which was blank.

<ClientSettings AllowColumnsReorder="true" AllowDragToGroup="True" ReorderColumnsOnClient="true" AllowRowHide="true">  
   <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling> 
   <Resizing AllowColumnResize="True" AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" ></Resizing>  
   <Selecting AllowRowSelect="True"></Selecting>                                  
</ClientSettings> 
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mike
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or