dhtmlxGrid: escaping problem with setHeader

I set column header user


I am having problem with tooltip escaping for “Test escaping a’b” string.

header_val = “<div title='Test escaping a\‘b’> Test escaping</div>”

I escape string using escape_javascript(header_val)

But tooltipe strips text from ’ char

I see “Test escaping a” in tooltip instead of “Test escaping a’b”

This test will be enjected as HTML string, which doesn’t recognize such style of escaping.
You can just change your code to the
header_val = “<div title=“Test escaping a’b”> Test escaping</div>”