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

Questionsany way to get advanced search criteria into grid name/caption?
Terry asked 6 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 6 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

12 + 0 =

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 / 5. Vote count:

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

Let us improve this post!