Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am trying to hide and show gridview footer row from javascript on particular can i access gridview footer row from javascript.provide soln.thanx
ZurdoDev 6-Sep-12 8:15am    
It depends on which control you are using. Some 3rd party controls already have JavaScript support for their grids. Others, you'll have to look at the source of the page and find the ID or some way of accessing it.
Vijay Walunj,Navi mumbai 6-Sep-12 8:25am    
i am able to access gridview in javascript.but i dont knw how to access footer row. only this is issue.
ZurdoDev 6-Sep-12 8:41am    
I don't know either because I don't know which gridview you are using. I assume the .Net one? Use the developer tools in your browser to see how you can uniquely identify the footer row. Better yet, in code assign a specific CSS class to the footer row.
Sandeep Mewara 6-Sep-12 12:31pm    
Tried anything? Where did you got stuck?

1 solution

I got answer:

gridId.rows(gridId.rows.length-1).cells(0).style.display = 'none';
Share this answer

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