Author Topic: pqgrid redirecting to a web page.  (Read 2728 times)

igor

  • Newbie
  • *
  • Posts: 3
    • View Profile
pqgrid redirecting to a web page.
« on: May 08, 2014, 03:30:27 pm »
hi everyone,
in our application we often load html and javascript content into the grid and after a while there is a redirect to some page,
or maybe a script executing from that specific cell. Is there a way to disable this execution or maybe to make the cell treat its content as simple text.

thanks in advance

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6264
    • View Profile
Re: pqgrid redirecting to a web page.
« Reply #1 on: May 08, 2014, 04:09:57 pm »
There might be <script> tags in your html.

use column.render callback http://paramquery.com/api#option-column-render to either remove the script tags or return the text part of html.