Click here to Skip to main content
11,713,845 members (86,251 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET jQuery
Hi All,
I want to fix GridView header in my application using jquery .

<script src="JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="JScript/ScrollableGridPlugin.js" type="text/javascript"></script>
    <script type = "text/javascript">
        $(document).ready(function () {
            //Invoke Scrollable function.
            $('#<%=gvwName.ClientID %>').Scrollable({
                ScrollHeight: 600,
            });
        });
</script>

I am writing this code. Actually the problem is, if i have CheckBox in GridView so that CheckBoxes are not working. When i click first time for sorting after that it is working.
Thanks & Regards
Posted 4-Nov-12 18:45pm
v3
Comments
Vijay Walunj,Navi mumbai at 5-Nov-12 0:49am
   
what error you got?
Member 8273312 at 15-Nov-12 4:21am
   
It is not showing any error .But if I click on header checkbox in GridViews then all checkboxexs are not being checked .Nothing is happening.
manognya kota at 5-Nov-12 1:48am
   
Please post your solution/mark the solution if it solved your issue.So that it would be helpful for others
Thanks,
Manognya.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

maybe you can try my solution, i worte a jquery plug-in can be fixed header and freeze column.

GridViewScroll with jQuery
  Permalink  
Comments
Surendra0x2 at 13-Dec-12 14:11pm
   
Gr8 :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 370
1 CHill60 250
2 Maciej Los 229
3 Richard MacCutchan 210
4 OriginalGriff 175
0 Sergey Alexandrovich Kryukov 365
1 CHill60 335
2 OriginalGriff 245
3 Andy Lanng 173
4 Richard MacCutchan 150


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100