Question: I am implementing Gridview freeze header with vertical scroll bar. I tried lot of solutions that has been suggested here. But the issues are,

1. The Gridview is inside a panel ,whose width is not fixed. Its 97% .

2.The columns don't have fixed width.

I tried solution suggested in GridviewScroll.js , but the problem is with fixed width and the Gridview doesn't resize as per the window size. 

I tried too many solutions but nothing works without fixed width , so i can't present that here..

Below is my existing code

```
         <asp:Panel ID="panel_gridholder" runat="server"  style="position:absolute;left:10px;width:97%; min-width:1020px;margin-top:3px;margin-bottom:20px;overflow:auto;" >

            <asp:GridView ID="GridView_Vehicle" runat="server" AutoGenerateColumns="False" AllowSorting="true" PagerSettings-Position="TopAndBottom"
                OnPageIndexChanging="GridView_Vehicle_PageIndexChanging" OnSorting="GridView_Vehicle_Sorting" PageSize="100"
                GridLines="None" AllowPaging="true" CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt">
                <Columns> </Columns>
           </asp:GridView>

            <div style="height: 400px"></div>
        </asp:Panel>

```

Any suggestions ?

Answer: 
I have to dive into the source code, the documentation is seriously lacking.

Try:

```
chart1.legend = None

```
nope is the previous one

chartcol\_geologicaprog.legend = None