AutoGenerateDeleteColumn

2 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 31 Oct 2008 Link to this post

    In my grid I have 

    AutoGenerateDeleteColumn="True"

    I also have 

     

    <

     

     

    Scrolling AllowScroll="True" UseStaticHeaders="True" />

     

    Having AutoGenerateDeleteColumn set has stopped the grid from scrolling.  Also how do I get the delete column to appear on the left hand side of the grid instead of the right.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 02 Nov 2008 Link to this post

    Hello Mark,

    I tried setting AutoGenerateDeleteColumn to True with scrolling enabled at my end, but could not replicate your issue. Check out for the following points.
    In order to display horizontal scroll for navigation, you need to make sure that the total width of the columns (either auto-generated or declaratively set) exceeds the width of the grid. Also, set the scroll height to display vertical scroll.

    You can swap columns as shown below to change the positions of columns.
    cs:
     protected void RadGrid1_PreRender(object sender, EventArgs e) 
        { 
            RadGrid1.MasterTableView.SwapColumns("FirstColumn", "AutoGeneratedDeleteColumn"); 
     
        } 

    Thanks
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top