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.
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.