any way to get advanced search criteria into grid name/caption?

Questionsany way to get advanced search criteria into grid name/caption?
Terry asked 11 years ago

I already know how to use hidden columns and advanced serach to setup a grid as I need. But if I forget what advanced search is set as, I need to go back into advanced search to see my set criteria.

I also know how to set the name of my grid ("Grid Caption").

If the advanced search criteria is defined as "Year = 2013" and Month="September",

How can I get the grid caption to be

"Grid Caption Year=2013 Month=September"

1 Answers
Abu Ghufran answered 11 years ago

Hello,

Refer
1) http://stackoverflow.com/questions/6217499/how-to-get-jqgrid-current-search-criteria &
2) http://stackoverflow.com/questions/8681058/jqgrid-setting-caption-dynamically

You can have these JS fixes in loadcomplete event of jqgrid (refer custom-events for onload event)

Your Answer

2 + 3 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?