Special Character issue when using Dropdown or Autocomplete

QuestionsSpecial Character issue when using Dropdown or Autocomplete
Sochi asked 4 years ago

Hello,
I have a new issue about Special Character. Still displays the HTML code when I using Drop down or Autocomplete.

My screenshot as at http://easycaptures.com/4622370964

I have partial code at my program as below, but still in problem.

$e["on_data_display"] = array("filter_display", null, true);
$grid->set_events($e);

function filter_display($data)
{
foreach($data["params"] as &$d)
{
$d["profile_fullname"] = html_entity_decode($d["profile_fullname"]);
}
}

4 Answers
Abu Ghufran answered 4 years ago

To enable html entity decode in autocomplete, you need to edit core lib (lib/inc/jqgrid_dist.php) and search / add following code.

http://hastebin.com/ojovinefl.php
Line to be added: 13,14,15,31,32,33

Ronald answered 4 years ago

I have the same problem, too.

Sochi answered 4 years ago

Dear Abu,
The code that you put at http://hastebin.com/ojovinefl.php is empty and I can't see. Would you send it to me via email? Thanks.

Abu Ghufran answered 4 years ago

Apologies for the typo.
Correct url: http://hastebin.com/ojovinefal.php

Your Answer

15 + 17 =

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!