Search code examples
javascriptjqueryjqgrid

Is it possible to only encode data coming from the server using jqGrid?


I've set "autoencode" to true on my jqGrid tables to prevent any XSS attempts on my website. However I only want this to apply to data coming from the server and NOT data being posted from the web app to the server.

Is there a way to make this encoding one-way instead of always being bidirectional?


Solution

  • I am not sure if I am answering it right, however this looks like could be a possible approach

    How to alter data received from the server before processing by jqGrid