This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Jqgrid problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jqgrid problem" Watch "Jqgrid problem" New topic
Author

Jqgrid problem

deepak mundhada
Greenhorn

Joined: May 10, 2012
Posts: 5
Hi all,

I am working on a project using technology Spring + Hibernate + jquery + Ajax + jqgrid.

Problem1 -: I used Jqgrid to display data of database. so it displays it very correct. but now i am to show this table according to user logged in. It means if Admin logs in than all button would be visible but If User logs in edit, delete, add buttons to not to show.

Approach -:
I may use <sec:authorize access="hasRole('Admin')"></sec:authorize> to solve it.
But i dont know how to hide a column or a button on jqgrid using this security tag.

problem2 -: I am to reload the grid on click of refresh button but not able to do. I did calling function explicitly or through ajax but still not able.

I need help for this.........
 
Don't get me started about those stupid light bulbs.
 
subject: Jqgrid problem
 
Similar Threads
Can AJAX be used to dynamically update any scoped variable storing a list of objects
Scrollable Table with Jquery?
Unable to get the chackbox array values in Servlet file
Ajax with Database