Click here to Skip to main content
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 19: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 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 255
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2014
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