Search Onload URL Filters AND using report names with underscore characters doesn't work

QuestionsSearch Onload URL Filters AND using report names with underscore characters doesn't work
Michael Sheppard asked 2 years ago

I have tried using the URL-based filters but have found a bug I’m not sure how to rectify. I use my report names when I set my report ID to render: I am guessing it’s something to do with the script syntax, but I’m not proficient enough in java/jquery scripting to know what needs to change and I can’t really find the answer with a Google search.

$reportname=”report_name”;

$out = $g->render($reportname);

Often, I use underscore characters in my report names and I can’t get these to work with the URL-based filtering. I have tested by removing the underscore and it works.

To run a simple test, I used list1 and list_1.

** This one works

$(‘#refresh_list1’).unbind( “click” );

** This does-not work

$(‘#refresh_list_1’).unbind( “click” );

 

Any thoughts?

Thanks

Mike

 

1 Answers
Abu Ghufran Staff answered 2 years ago

Ideally this does not make any difference and if you check via DOM inspector (F12) and Focus on refresh icon, You will see this ID selector exist.

There could be some other reason of unexpected behavior. Check browser console for possible JS errors.

PS: I know, it’s pretty late reply but logging it to help other guests.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

4 + 4 =

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?