Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I want to fix GridView header in my application using jquery .

XML
<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
v3
Comments
Vijay Walunj,Navi mumbai 5-Nov-12 0:49am    
what error you got?
Member 8273312 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 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

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

GridViewScroll with jQuery
 
Share this answer
 
Comments
Surendra0x2 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900