fixes #2559
fix formatting
add multiple grid support to gridData
remove previous attachments if any
return data from module scope variable
Merge pull request #2596 from tonydspaniard/2559-pjax-filter

2559 pjax filter