Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jqgrid problem

 
deepak mundhada
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic