3 Answers
If this variable is based on $_GET then you can simply put it in defaultValue property of editoptions.
If it’s coming from $_POST then you need to preserve it in session and then use it.
https://www.gridphp.com/docs/misc-faqs/#q-how-to-load-grid-based-on-_post-data-from-other-page
If it doesn’t solve, share grid code as well.
i still have the same problem this is my code
https://gist.github.com/abdelilahdourhmani/64501ee419f3dbd600ab326cadbce136.js
Your Answer